Record Class BindingClassGenerator.ParsedBindingData
java.lang.Object
java.lang.Record
eu.cloudnetservice.ext.platforminject.processor.BindingClassGenerator.ParsedBindingData
- Enclosing class:
BindingClassGenerator
public static record BindingClassGenerator.ParsedBindingData(boolean bindWildcardTypes, @NonNull String packageName, @NonNull String platform, @NonNull com.squareup.javapoet.ClassName boundElement, @NonNull Set<com.squareup.javapoet.ClassName> providingElements, @NonNull Set<com.squareup.javapoet.TypeName> providedGenericElements)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for thebindWildcardTypesrecord component.private final @NonNull com.squareup.javapoet.ClassNameThe field for theboundElementrecord component.The field for thepackageNamerecord component.The field for theplatformrecord component.The field for theprovidedGenericElementsrecord component.The field for theprovidingElementsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionParsedBindingData(boolean bindWildcardTypes, @NonNull String packageName, @NonNull String platform, @NonNull com.squareup.javapoet.ClassName boundElement, @NonNull Set<com.squareup.javapoet.ClassName> providingElements, @NonNull Set<com.squareup.javapoet.TypeName> providedGenericElements) Creates an instance of aParsedBindingDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thebindWildcardTypesrecord component.@NonNull com.squareup.javapoet.ClassNameReturns the value of theboundElementrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepackageNamerecord component.platform()Returns the value of theplatformrecord component.Returns the value of theprovidedGenericElementsrecord component.Returns the value of theprovidingElementsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
bindWildcardTypes
private final boolean bindWildcardTypesThe field for thebindWildcardTypesrecord component. -
packageName
-
platform
-
boundElement
-
providingElements
-
providedGenericElements
-
-
Constructor Details
-
ParsedBindingData
public ParsedBindingData(boolean bindWildcardTypes, @NonNull @NonNull String packageName, @NonNull @NonNull String platform, @NonNull @NonNull com.squareup.javapoet.ClassName boundElement, @NonNull @NonNull Set<com.squareup.javapoet.ClassName> providingElements, @NonNull @NonNull Set<com.squareup.javapoet.TypeName> providedGenericElements) Creates an instance of aParsedBindingDatarecord class.- Parameters:
bindWildcardTypes- the value for thebindWildcardTypesrecord componentpackageName- the value for thepackageNamerecord componentplatform- the value for theplatformrecord componentboundElement- the value for theboundElementrecord componentprovidingElements- the value for theprovidingElementsrecord componentprovidedGenericElements- the value for theprovidedGenericElementsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
bindWildcardTypes
public boolean bindWildcardTypes()Returns the value of thebindWildcardTypesrecord component.- Returns:
- the value of the
bindWildcardTypesrecord component
-
packageName
-
platform
-
boundElement
-
providingElements
-
providedGenericElements
-