Package jodd.proxetta.asm
Class TypeInfoImpl
- java.lang.Object
-
- jodd.proxetta.asm.TypeInfoImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected AnnotationInfo[]
annotations
Argument annotations are not available on method signature scanning.
-
Constructor Summary
Constructors Constructor Description TypeInfoImpl(char opcode, java.lang.String type, java.lang.String name, java.lang.String rawName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationInfo[]
getAnnotations()
Returns annotation info of type.java.lang.String
getName()
Returns bytecode-like type name, e.g.char
getOpcode()
Returns bytecode opcode.java.lang.String
getRawName()
Returns bytecode-like type name, e.g.java.lang.String
getType()
Returns java-like, e.g.
-
-
-
Field Detail
-
annotations
protected AnnotationInfo[] annotations
Argument annotations are not available on method signature scanning. Therefore, we need to inject them from the outside.
-
-
Method Detail
-
getAnnotations
public AnnotationInfo[] getAnnotations()
Returns annotation info of type. SOme types (like for returning value) can't have annotation information.- Specified by:
getAnnotations
in interfaceTypeInfo
-
getOpcode
public char getOpcode()
Returns bytecode opcode.
-
getType
public java.lang.String getType()
Returns java-like, e.g."java.lang.Integer"
.
-
getName
public java.lang.String getName()
Returns bytecode-like type name, e.g."Ljava/lang/Integer;"
. Note that generics type names are not resolved.- Specified by:
getName
in interfaceTypeInfo
- See Also:
getRawName()
-
getRawName
public java.lang.String getRawName()
Returns bytecode-like type name, e.g."Ljava/lang/Integer;"
.- Specified by:
getRawName
in interfaceTypeInfo
- See Also:
getName()
-
-