java.lang.Object
io.quarkus.gizmo2.TypeParameter
io.quarkus.gizmo2.TypeParameter.OfConstructor
- All Implemented Interfaces:
GenericTyped,SimpleTyped,Typed
- Enclosing class:
- TypeParameter
A type parameter on a constructor.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.quarkus.gizmo2.TypeParameter
TypeParameter.OfConstructor, TypeParameter.OfMethod, TypeParameter.OfType -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(TypeParameter other) Returnstrueif this object is equal to the given object, orfalseif it is not.booleanReturnstrueif this object is equal to the given object, orfalseif it is not.inthashCode()Returns the hash code for this type variable.owner()Returns the owner of the type variable.booleanvisibleIn(ConstructorDesc desc) Returnstrueif this type variable is visible throughout the given constructor, orfalseif it is not.booleanvisibleIn(MethodDesc desc) Returnstrueif this type variable is visible throughout the given method, orfalseif it is not.booleanReturnstrueif this type variable is visible throughout the given class, orfalseif it is not.Methods inherited from class io.quarkus.gizmo2.TypeParameter
equals, erasure, firstBound, genericType, hasGenericType, name, otherBounds, toString, typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.quarkus.gizmo2.SimpleTyped
isPrimitive, isVoid, slotSize, typeKind
-
Method Details
-
owner
Returns the owner of the type variable.- Returns:
- the owner of the type variable
-
visibleIn
Description copied from class:TypeParameterReturnstrueif this type variable is visible throughout the given class, orfalseif it is not.- Specified by:
visibleInin classTypeParameter- Returns:
trueif this type variable is visible throughout the given class, orfalseif it is not
-
visibleIn
Description copied from class:TypeParameterReturnstrueif this type variable is visible throughout the given method, orfalseif it is not.- Specified by:
visibleInin classTypeParameter- Returns:
trueif this type variable is visible throughout the given method, orfalseif it is not
-
visibleIn
Description copied from class:TypeParameterReturnstrueif this type variable is visible throughout the given constructor, orfalseif it is not.- Specified by:
visibleInin classTypeParameter- Returns:
trueif this type variable is visible throughout the given constructor, orfalseif it is not
-
equals
Description copied from class:TypeParameterReturnstrueif this object is equal to the given object, orfalseif it is not.- Overrides:
equalsin classTypeParameter- Returns:
trueif this object is equal to the given object, orfalseif it is not
-
equals
Returnstrueif this object is equal to the given object, orfalseif it is not.- Returns:
trueif this object is equal to the given object, orfalseif it is not
-
hashCode
public int hashCode()Description copied from class:TypeParameterReturns the hash code for this type variable.- Overrides:
hashCodein classTypeParameter- Returns:
- the hash code for this type variable
-