@HashCodeAndEqualsPlugin.Enhance protected abstract static class GenericTypeAwareAssigner.IsAssignableToVisitor.OfManifestType extends Object implements TypeDescription.Generic.Visitor<Boolean>
TypeDescription.Generic.Visitor.AnnotationStripper, TypeDescription.Generic.Visitor.Assigner, TypeDescription.Generic.Visitor.ForRawType, TypeDescription.Generic.Visitor.ForSignatureVisitor, TypeDescription.Generic.Visitor.NoOp, TypeDescription.Generic.Visitor.Reducing, TypeDescription.Generic.Visitor.Reifying, TypeDescription.Generic.Visitor.Substitutor, TypeDescription.Generic.Visitor.TypeErasing, TypeDescription.Generic.Visitor.Validator
Modifier and Type | Field and Description |
---|---|
protected boolean |
polymorphic
true if the assignment is polymorphic. |
protected TypeDescription.Generic |
typeDescription
The type being assigned to another type.
|
Modifier | Constructor and Description |
---|---|
protected |
OfManifestType(TypeDescription.Generic typeDescription,
boolean polymorphic)
Creates a new visitor for a manifest type.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
Boolean |
onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onGenericArray, onNonGenericType, onParameterizedType
protected final TypeDescription.Generic typeDescription
protected final boolean polymorphic
true
if the assignment is polymorphic.protected OfManifestType(TypeDescription.Generic typeDescription, boolean polymorphic)
typeDescription
- The type being assigned to another type.polymorphic
- true
if the assignment is polymorphic.public Boolean onWildcard(TypeDescription.Generic wildcard)
Sort#WILDCARD
).onWildcard
in interface TypeDescription.Generic.Visitor<Boolean>
wildcard
- The wildcard.public Boolean onTypeVariable(TypeDescription.Generic typeVariable)
Sort#VARIABLE
, Sort#VARIABLE_SYMBOLIC
).onTypeVariable
in interface TypeDescription.Generic.Visitor<Boolean>
typeVariable
- The generic array type.Copyright © 2014–2021. All rights reserved.