Class Signature
java.lang.Object
org.vesalainen.bcc.Descriptor
org.vesalainen.bcc.Signature
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidarrayTypeSignature(Signature.Result sb, ArrayType type) private static voidclassTypeSignature(Signature.Result sb, TypeMirror type) ClassTypeSignature: L PackageSpecifieropt SimpleClassTypeSignature ClassTypeSignatureSuffix* ;private static voidprivate static voidfieldTypeSignature(Signature.Result sb, TypeMirror type) FieldTypeSignature: ClassTypeSignature ArrayTypeSignature TypeVariableSignatureprivate static voidformalTypeParameter(Signature.Result sb, TypeParameterElement typeParameter) FormalTypeParameter: Identifier ClassBound InterfaceBound*private static voidformalTypeParameters(Signature.Result sb, List<? extends TypeParameterElement> typeParameters) FormalTypeParameters: invalid input: '<' FormalTypeParameter+ >private static StringgetClassSignature(TypeElement element) ClassSignature: FormalTypeParametersopt SuperclassSignature SuperinterfaceSignature* invalid input: '<'U:Ljava/lang/Integer;:Ljava/io/Serializable;>Lorg/vesalainen/bcc/Test;Ljava/lang/Cloneable;;private static StringgetFieldSignature(VariableElement variableElement) private static StringgetMethodSignature(ExecutableElement executableElement) MethodTypeSignature: FormalTypeParametersopt (TypeSignature*) ReturnType ThrowsSignature*static StringgetSignature(Element element) private static voidgetThrowsSignature(Signature.Result sb, TypeMirror param) private static voidpackageSpecifier(Signature.Result sb, TypeMirror type) PackageSpecifier: Identifier / PackageSpecifier*private static voidSimpleClassTypeSignature: Identifier TypeArgumentsoptprivate static voidtypeArgument(Signature.Result sb, TypeMirror typeArgument) private static voidtypeArguments(Signature.Result sb, List<? extends TypeMirror> typeArguments) private static voidtypeSignature(Signature.Result sb, TypeMirror type) private static voidMethods inherited from class Descriptor
getDesriptor, getFieldDesriptor, getFullyQualifiedForm, nestedQualifiedName, nestedSimpleName
-
Constructor Details
-
Signature
public Signature()
-
-
Method Details
-
getSignature
-
getClassSignature
ClassSignature: FormalTypeParametersopt SuperclassSignature SuperinterfaceSignature* invalid input: '<'U:Ljava/lang/Integer;:Ljava/io/Serializable;>Lorg/vesalainen/bcc/Test;Ljava/lang/Cloneable;;- Parameters:
clazz-- Returns:
- Throws:
IOException
-
formalTypeParameters
private static void formalTypeParameters(Signature.Result sb, List<? extends TypeParameterElement> typeParameters) throws IOException FormalTypeParameters: invalid input: '<' FormalTypeParameter+ >- Parameters:
clazz-- Throws:
IOException
-
formalTypeParameter
private static void formalTypeParameter(Signature.Result sb, TypeParameterElement typeParameter) throws IOException FormalTypeParameter: Identifier ClassBound InterfaceBound*- Parameters:
typeVariable-- Throws:
IOException
-
classTypeSignature
ClassTypeSignature: L PackageSpecifieropt SimpleClassTypeSignature ClassTypeSignatureSuffix* ;- Parameters:
sb-type-- Throws:
IOException
-
packageSpecifier
PackageSpecifier: Identifier / PackageSpecifier*- Parameters:
sb-type-- Throws:
IOException
-
simpleClassTypeSignature
private static void simpleClassTypeSignature(Signature.Result sb, TypeMirror type) throws IOException SimpleClassTypeSignature: Identifier TypeArgumentsopt- Parameters:
type-- Throws:
IOException
-
typeArguments
private static void typeArguments(Signature.Result sb, List<? extends TypeMirror> typeArguments) throws IOException - Throws:
IOException
-
typeArgument
- Throws:
IOException
-
classTypeSignatureSuffix
-
fieldTypeSignature
FieldTypeSignature: ClassTypeSignature ArrayTypeSignature TypeVariableSignature- Parameters:
type-- Throws:
IOException
-
typeVariableSignature
private static void typeVariableSignature(Signature.Result sb, TypeVariable type) throws IOException - Throws:
IOException
-
getFieldSignature
- Throws:
IOException
-
arrayTypeSignature
- Throws:
IOException
-
typeSignature
- Throws:
IOException
-
getMethodSignature
MethodTypeSignature: FormalTypeParametersopt (TypeSignature*) ReturnType ThrowsSignature*- Parameters:
method-- Returns:
- Throws:
IOException
-
getThrowsSignature
-