Java org.eclipse.jdt.core Signature fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core Signature fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core Signature.

The text is from its open source code.

Field

intARRAY_TYPE_SIGNATURE
Kind constant for an array type signature.
intBASE_TYPE_SIGNATURE
Kind constant for a base (primitive or void) type signature.
charC_ARRAY
Character constant indicating an array type in a signature.
charC_BOOLEAN
Character constant indicating the primitive type boolean in a signature.
charC_BYTE
Character constant indicating the primitive type byte in a signature.
charC_CAPTURE
Character constant indicating a capture of a wildcard type in a signature.
charC_CHAR
Character constant indicating the primitive type char in a signature.
charC_COLON
Character constant indicating the colon in a signature.
charC_DOLLAR
Character constant indicating the dollar in a signature.
charC_DOT
Character constant indicating the dot in a signature.
charC_DOUBLE
Character constant indicating the primitive type double in a signature.
charC_EXTENDS
Character constant indicating a bound wildcard type argument in a signature with extends clause.
charC_FLOAT
Character constant indicating the primitive type float in a signature.
charC_GENERIC_END
Character constant indicating the end of a generic type list in a signature.
charC_GENERIC_START
Character constant indicating the start of a formal type parameter (or type argument) list in a signature.
charC_INT
Character constant indicating the primitive type int in a signature.
charC_INTERSECTION
Character constant indicating an intersection type in a signature.
charC_UNION
Character constant indicating a union type in a signature.
charC_LONG
Character constant indicating the primitive type long in a signature.
charC_NAME_END
Character constant indicating the end of a named type in a signature.
charC_PARAM_START
Character constant indicating the start of a parameter type list in a signature.
charC_RESOLVED
Character constant indicating the start of a resolved, named type in a signature.
charC_SEMICOLON
Character constant indicating the semicolon in a signature.
charC_SHORT
Character constant indicating the primitive type short in a signature.
charC_STAR
Character constant indicating an unbound wildcard type argument in a signature.
charC_SUPER
Character constant indicating a bound wildcard type argument in a signature with super clause.
charC_TYPE_VARIABLE
Character constant indicating the start of a resolved type variable in a signature.
charC_UNRESOLVED
Character constant indicating the start of an unresolved, named type in a signature.
charC_VOID
Character constant indicating result type void in a signature.
intCAPTURE_TYPE_SIGNATURE
Kind constant for the capture of a wildcard type signature.
intCLASS_TYPE_SIGNATURE
Kind constant for a class type signature.
intINTERSECTION_TYPE_SIGNATURE
Kind constant for the intersection type signature.
StringSIG_BOOLEAN
String constant for the signature of the primitive type boolean.
StringSIG_BYTE
String constant for the signature of the primitive type byte.
StringSIG_CHAR
String constant for the signature of the primitive type char.
StringSIG_DOUBLE
String constant for the signature of the primitive type double.
StringSIG_FLOAT
String constant for the signature of the primitive type float.
StringSIG_INT
String constant for the signature of the primitive type int.
StringSIG_LONG
String constant for the signature of the primitive type long.
StringSIG_SHORT
String constant for the signature of the primitive type short.
StringSIG_VOID
String constant for the signature of result type void.
intTYPE_VARIABLE_SIGNATURE
Kind constant for a type variable signature.
intWILDCARD_TYPE_SIGNATURE
Kind constant for a wildcard type signature.

Method

char[]createArraySignature(char[] typeSignature, int arrayCount)
Creates a new type signature with the given amount of array nesting added to the given type signature.
StringcreateArraySignature(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.
StringcreateIntersectionTypeSignature(char[][] typeSignatures)
Creates a new intersection type signature from the given type signatures.
StringcreateIntersectionTypeSignature(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.
StringcreateMethodSignature(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.
StringcreateTypeParameterSignature(String typeParameterName, String[] boundSignatures)
Creates a new type parameter signature with the given name and bounds.
StringcreateTypeSignature(char[] typeName, boolean isResolved)
Creates a new type signature from the given type name encoded as a character array.
StringcreateTypeSignature(String typeName, boolean isResolved)
Creates a new type signature from the given type name.
intgetArrayCount(char[] typeSignature)
Returns the array count (array nesting depth) of the given type signature.
intgetArrayCount(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.
StringgetElementType(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.
intgetParameterCount(char[] methodSignature)
Returns the number of parameter types in the given method signature.
intgetParameterCount(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.
StringgetQualifier(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.
StringgetReturnType(String methodSignature)
Extracts the return type from the given method signature.
char[]getSignatureQualifier(char[] typeSignature)
Returns package fragment of a type signature.
StringgetSignatureQualifier(String typeSignature)
Returns package fragment of a type signature.
char[]getSignatureSimpleName(char[] typeSignature)
Returns type fragment of a type signature.
StringgetSignatureSimpleName(String typeSignature)
Returns type fragment of a type signature.
char[]getSimpleName(char[] name)
Returns the last segment of the given dot-separated qualified name.
StringgetSimpleName(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.
StringgetTypeErasure(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.
intgetTypeSignatureKind(char[] typeSignature)
Returns the kind of type signature encoded by the given string.
intgetTypeSignatureKind(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.
StringgetTypeVariable(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.
StringremoveCapture(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.
StringtoQualifiedName(String[] segments)
Converts the given array of qualified name segments to a qualified name.
StringtoString(String signature)
Converts the given type signature to a readable string.
StringtoString(String methodSignature, String methodName, String[] parameterNames, boolean fullyQualifyTypeNames, boolean includeReturnType)
Converts the given method signature to a readable string.
StringtoString(String methodSignature, String methodName, String[] parameterNames, boolean fullyQualifyTypeNames, boolean includeReturnType, boolean isVarArgs)
Converts the given method signature to a readable string.