Example usage for Java org.eclipse.jdt.core Signature fields, constructors, methods, implement or subclass
The text is from its open source code.
int | ARRAY_TYPE_SIGNATURE Kind constant for an array type signature. |
int | BASE_TYPE_SIGNATURE Kind constant for a base (primitive or void) type signature. |
char | C_ARRAY Character constant indicating an array type in a signature. |
char | C_BOOLEAN Character constant indicating the primitive type boolean in a signature. |
char | C_BYTE Character constant indicating the primitive type byte in a signature. |
char | C_CAPTURE Character constant indicating a capture of a wildcard type in a signature. |
char | C_CHAR Character constant indicating the primitive type char in a signature. |
char | C_COLON Character constant indicating the colon in a signature. |
char | C_DOLLAR Character constant indicating the dollar in a signature. |
char | C_DOT Character constant indicating the dot in a signature. |
char | C_DOUBLE Character constant indicating the primitive type double in a signature. |
char | C_EXTENDS Character constant indicating a bound wildcard type argument in a signature with extends clause. |
char | C_FLOAT Character constant indicating the primitive type float in a signature. |
char | C_GENERIC_END Character constant indicating the end of a generic type list in a signature. |
char | C_GENERIC_START Character constant indicating the start of a formal type parameter (or type argument) list in a signature. |
char | C_INT Character constant indicating the primitive type int in a signature. |
char | C_INTERSECTION Character constant indicating an intersection type in a signature. |
char | C_UNION Character constant indicating a union type in a signature. |
char | C_LONG Character constant indicating the primitive type long in a signature. |
char | C_NAME_END Character constant indicating the end of a named type in a signature. |
char | C_PARAM_START Character constant indicating the start of a parameter type list in a signature. |
char | C_RESOLVED Character constant indicating the start of a resolved, named type in a signature. |
char | C_SEMICOLON Character constant indicating the semicolon in a signature. |
char | C_SHORT Character constant indicating the primitive type short in a signature. |
char | C_STAR Character constant indicating an unbound wildcard type argument in a signature. |
char | C_SUPER Character constant indicating a bound wildcard type argument in a signature with super clause. |
char | C_TYPE_VARIABLE Character constant indicating the start of a resolved type variable in a signature. |
char | C_UNRESOLVED Character constant indicating the start of an unresolved, named type in a signature. |
char | C_VOID Character constant indicating result type void in a signature. |
int | CAPTURE_TYPE_SIGNATURE Kind constant for the capture of a wildcard type signature. |
int | CLASS_TYPE_SIGNATURE Kind constant for a class type signature. |
int | INTERSECTION_TYPE_SIGNATURE Kind constant for the intersection type signature. |
String | SIG_BOOLEAN String constant for the signature of the primitive type boolean. |
String | SIG_BYTE String constant for the signature of the primitive type byte. |
String | SIG_CHAR String constant for the signature of the primitive type char. |
String | SIG_DOUBLE String constant for the signature of the primitive type double. |
String | SIG_FLOAT String constant for the signature of the primitive type float. |
String | SIG_INT String constant for the signature of the primitive type int. |
String | SIG_LONG String constant for the signature of the primitive type long. |
String | SIG_SHORT String constant for the signature of the primitive type short. |
String | SIG_VOID String constant for the signature of result type void. |
int | TYPE_VARIABLE_SIGNATURE Kind constant for a type variable signature. |
int | WILDCARD_TYPE_SIGNATURE Kind constant for a wildcard type signature. |
char[] | createArraySignature(char[] typeSignature, int arrayCount) Creates a new type signature with the given amount of array nesting added to the given type signature. |
String | createArraySignature(String typeSignature, int arrayCount) Creates a new type signature with the given amount of array nesting added to the given type signature. |
char[] | createCharArrayTypeSignature(char[] typeName, boolean isResolved) Creates a new type signature from the given type name encoded as a character array. |
String | createIntersectionTypeSignature(char[][] typeSignatures) Creates a new intersection type signature from the given type signatures. |
String | createIntersectionTypeSignature(String[] typeSignatures) Creates a new intersection type signature from the given type signatures. |
char[] | createMethodSignature(char[][] parameterTypes, char[] returnType) Creates a method signature from the given parameter and return type signatures. |
String | createMethodSignature(String[] parameterTypes, String returnType) Creates a method signature from the given parameter and return type signatures. |
char[] | createTypeParameterSignature(char[] typeParameterName, char[][] boundSignatures) Creates a new type parameter signature with the given name and bounds. |
String | createTypeParameterSignature(String typeParameterName, String[] boundSignatures) Creates a new type parameter signature with the given name and bounds. |
String | createTypeSignature(char[] typeName, boolean isResolved) Creates a new type signature from the given type name encoded as a character array. |
String | createTypeSignature(String typeName, boolean isResolved) Creates a new type signature from the given type name. |
int | getArrayCount(char[] typeSignature) Returns the array count (array nesting depth) of the given type signature. |
int | getArrayCount(String typeSignature) Returns the array count (array nesting depth) of the given type signature. |
char[] | getElementType(char[] typeSignature) Returns the type signature without any array nesting. |
String | getElementType(String typeSignature) Returns the type signature without any array nesting. |
char[][] | getIntersectionTypeBounds(char[] intersectionTypeSignature) Extracts the type bounds' signatures from the given intersection type signature. |
String[] | getIntersectionTypeBounds(String intersectionTypeSignature) Extracts the type bounds' signatures from the given intersection type signature. |
int | getParameterCount(char[] methodSignature) Returns the number of parameter types in the given method signature. |
int | getParameterCount(String methodSignature) Returns the number of parameter types in the given method signature. |
char[][] | getParameterTypes(char[] methodSignature) Extracts the parameter type signatures from the given method signature. |
String[] | getParameterTypes(String methodSignature) Extracts the parameter type signatures from the given method signature. |
char[] | getQualifier(char[] name) Returns a char array containing all but the last segment of the given dot-separated qualified name. |
String | getQualifier(String name) Returns a string containing all but the last segment of the given dot-separated qualified name. |
char[] | getReturnType(char[] methodSignature) Extracts the return type from the given method signature. |
String | getReturnType(String methodSignature) Extracts the return type from the given method signature. |
char[] | getSignatureQualifier(char[] typeSignature) Returns package fragment of a type signature. |
String | getSignatureQualifier(String typeSignature) Returns package fragment of a type signature. |
char[] | getSignatureSimpleName(char[] typeSignature) Returns type fragment of a type signature. |
String | getSignatureSimpleName(String typeSignature) Returns type fragment of a type signature. |
char[] | getSimpleName(char[] name) Returns the last segment of the given dot-separated qualified name. |
String | getSimpleName(String name) Returns the last segment of the given dot-separated qualified name. |
char[][] | getSimpleNames(char[] name) Returns all segments of the given dot-separated qualified name. |
String[] | getSimpleNames(String name) Returns all segments of the given dot-separated qualified name. |
char[][] | getThrownExceptionTypes(char[] methodSignature) Extracts the thrown exception type signatures from the given method signature if any The method signature is expected to be dot-based. |
String[] | getThrownExceptionTypes(String methodSignature) Extracts the thrown exception type signatures from the given method signature if any The method signature is expected to be dot-based. |
char[][] | getTypeArguments(char[] parameterizedTypeSignature) Extracts the type argument signatures from the given type signature. |
String[] | getTypeArguments(String parameterizedTypeSignature) Extracts the type argument signatures from the given type signature. |
char[] | getTypeErasure(char[] parameterizedTypeSignature) Extracts the type erasure signature from the given parameterized type signature. |
String | getTypeErasure(String parameterizedTypeSignature) Extracts the type erasure signature from the given parameterized type signature. |
char[][] | getTypeParameterBounds(char[] formalTypeParameterSignature) Extracts the class and interface bounds from the given formal type parameter signature. |
String[] | getTypeParameterBounds(String formalTypeParameterSignature) Extracts the class and interface bounds from the given formal type parameter signature. |
char[][] | getTypeParameters(char[] methodOrTypeSignature) Extracts the type parameter signatures from the given method or type signature. |
String[] | getTypeParameters(String methodOrTypeSignature) Extracts the type parameter signatures from the given method or type signature. |
int | getTypeSignatureKind(char[] typeSignature) Returns the kind of type signature encoded by the given string. |
int | getTypeSignatureKind(String typeSignature) Returns the kind of type signature encoded by the given string. |
char[] | getTypeVariable(char[] formalTypeParameterSignature) Extracts the type variable name from the given formal type parameter signature. |
String | getTypeVariable(String formalTypeParameterSignature) Extracts the type variable name from the given formal type parameter signature. |
char[] | removeCapture(char[] methodOrTypeSignature) Removes any capture information from the given type or method signature and returns the resulting signature. |
String | removeCapture(String methodOrTypeSignature) Removes any capture information from the given type or method signature and returns the resulting signature. |
char[] | toCharArray(char[] signature) Converts the given type signature to a readable string. |
char[] | toCharArray(char[] methodSignature, char[] methodName, char[][] parameterNames, boolean fullyQualifyTypeNames, boolean includeReturnType) Converts the given method signature to a readable form. |
char[] | toQualifiedName(char[][] segments) Converts the given array of qualified name segments to a qualified name. |
String | toQualifiedName(String[] segments) Converts the given array of qualified name segments to a qualified name. |
String | toString(String signature) Converts the given type signature to a readable string. |
String | toString(String methodSignature, String methodName, String[] parameterNames, boolean fullyQualifyTypeNames, boolean includeReturnType) Converts the given method signature to a readable string. |
String | toString(String methodSignature, String methodName, String[] parameterNames, boolean fullyQualifyTypeNames, boolean includeReturnType, boolean isVarArgs) Converts the given method signature to a readable string. |