public abstract class TypeSignature extends HierarchicalTypeSignature
ReferenceTypeSignature
(whose own
subclasses are ClassRefTypeSignature
, TypeVariableSignature
, and ArrayTypeSignature
), and
BaseTypeSignature
.Modifier and Type | Method and Description |
---|---|
abstract boolean |
equalsIgnoringTypeParams(TypeSignature other)
Compare base types, ignoring generic type parameters.
|
AnnotationInfoList |
getTypeAnnotationInfo()
Get a list of
AnnotationInfo objects for any type annotations on this type, or null if none. |
String |
toString()
Render to string.
|
String |
toStringWithSimpleNames()
Render to string, using only simple
names for classes.
|
public AnnotationInfoList getTypeAnnotationInfo()
AnnotationInfo
objects for any type annotations on this type, or null if none.AnnotationInfo
objects for any type annotations on this type, or null if none.public abstract boolean equalsIgnoringTypeParams(TypeSignature other)
other
- the other TypeSignature
to compare to.TypeSignature
objects are equal, ignoring type parameters.public String toStringWithSimpleNames()
Copyright © 2022. All rights reserved.