Class TypeSignature
java.lang.Object
xyz.janboerman.scalaloader.bytecode.TypeSignature
This class is NOT part of the public API!
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintbooleangetTypeArgument(int index) The type arguments types of this type.The raw type (without type arguments) of this type.inthashCode()booleanbooleanhasTypeArguments(int n) booleanisArray()static TypeSignatureofDescriptor(String descriptor) static TypeSignatureofSignature(String signature) final Stringfinal StringtoString()
- 
Field Details- 
OBJECT_TYPE_SIGNATURE
 
- 
- 
Constructor Details- 
TypeSignature
 
- 
- 
Method Details- 
isArraypublic boolean isArray()
- 
hasTypeArgumentspublic boolean hasTypeArguments()
- 
hasTypeArgumentspublic boolean hasTypeArguments(int n) 
- 
ofDescriptor
- 
ofSignature
- 
getTypeNameThe raw type (without type arguments) of this type. If this TypeSignature was constructed from an array signature, the raw type returned here is "array"- Returns:
- "array" or the raw type without type arguments.
 
- 
internalName
- 
getTypeArgumentsThe type arguments types of this type. If this TypeSignature was constructed from an array signature, the type arguments only contains one element.- Returns:
- the type arguments, or the array component type.
 
- 
countTypeArgumentspublic int countTypeArguments()
- 
getTypeArgument
- 
toDescriptor
- 
toSignature
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-