Modifier and Type | Class and Description |
---|---|
class |
ArrayType
Represents a Java array type declaration.
|
class |
ClassType
Represents a standard raw class name.
|
class |
ParameterizedType
Represents a generic parameterized type.
|
class |
PrimitiveType
Represents a primitive Java type.
|
class |
TypeVariable
Represents a resolved type parameter or type argument.
|
class |
UnresolvedTypeVariable
Represents a type variable that could not be resolved during indexing.
|
class |
VoidType
Specifies "void" in a method signature.
|
class |
WildcardType
Represents a generic wildcard.
|
Modifier and Type | Field and Description |
---|---|
private Type[] |
ParameterizedType.arguments |
private Type |
WildcardType.bound |
private Type[] |
TypeVariable.bounds |
private Type |
ArrayType.component |
static Type[] |
Type.EMPTY_ARRAY |
private Type[] |
MethodInternal.exceptions |
private Type[] |
GenericSignatureParser.ClassSignature.interfaces |
private Type[] |
ClassInfo.interfaceTypes |
private Type[] |
GenericSignatureParser.MethodSignature.methodParameters |
private static Type |
WildcardType.OBJECT |
private Type |
ParameterizedType.owner |
private Type[] |
MethodInternal.parameters |
private Type[] |
GenericSignatureParser.ClassSignature.parameters |
private Type[] |
ClassInfo.EnclosingMethodInfo.parameters |
private Type |
MethodInternal.receiverType |
private Type |
MethodInternal.returnType |
private Type |
GenericSignatureParser.MethodSignature.returnType |
private Type |
ClassInfo.EnclosingMethodInfo.returnType |
private Type |
GenericSignatureParser.ClassSignature.superClass |
private Type |
ClassInfo.superClassType |
private Type |
TypeTarget.target |
private Type[] |
GenericSignatureParser.MethodSignature.throwables |
private Type |
FieldInternal.type |
private Type |
AnnotationValue.ClassValue.type |
private Type[][] |
IndexReaderV2.typeListTable |
private Type[] |
MethodInternal.typeParameters |
private Type[] |
GenericSignatureParser.MethodSignature.typeParameters |
private Type[] |
ClassInfo.typeParameters |
private Type[] |
IndexReaderV2.typeTable |
Modifier and Type | Field and Description |
---|---|
private StrongInternPool<Type> |
NameTable.typePool |
private IndexWriterV2.ReferenceTable<Type> |
IndexWriterV2.typeTable |
Modifier and Type | Method and Description |
---|---|
(package private) Type |
Type.addAnnotation(AnnotationInstance annotation) |
Type[] |
MethodInfo.args()
Deprecated.
|
(package private) Type[] |
ParameterizedType.argumentsArray() |
Type |
AnnotationValue.asClass()
Returns the class name, in
Type form, that represents a Java
Class used by this value. |
Type |
AnnotationValue.ClassValue.asClass() |
Type[] |
AnnotationValue.asClassArray()
Returns an array of class types representing the underlying class array value.
|
Type[] |
AnnotationValue.ArrayValue.asClassArray() |
(package private) Type |
WildcardType.bound() |
(package private) Type[] |
TypeVariable.boundArray() |
Type |
ArrayType.component()
Returns the component type of the array.
|
(package private) Type[] |
MethodInternal.copyExceptions() |
(package private) Type[] |
MethodInfo.copyExceptions() |
(package private) Type[] |
ClassInfo.copyInterfaceTypes() |
(package private) Type[] |
MethodInternal.copyParameters() |
(package private) Type[] |
MethodInfo.copyParameters() |
(package private) Type |
WildcardType.copyType(AnnotationInstance[] newAnnotations) |
(package private) Type |
VoidType.copyType(AnnotationInstance[] newAnnotations) |
(package private) Type |
UnresolvedTypeVariable.copyType(AnnotationInstance[] newAnnotations) |
(package private) Type |
TypeVariable.copyType(AnnotationInstance[] newAnnotations) |
(package private) abstract Type |
Type.copyType(AnnotationInstance[] newAnnotations) |
(package private) Type |
PrimitiveType.copyType(AnnotationInstance[] newAnnotations) |
(package private) Type |
ClassType.copyType(AnnotationInstance[] newAnnotations) |
(package private) Type |
ArrayType.copyType(AnnotationInstance[] newAnnotations) |
(package private) Type |
WildcardType.copyType(Type bound) |
(package private) Type |
ArrayType.copyType(Type component,
int dimensions) |
private static Type[] |
Indexer.copyTypeParameters(AnnotationTarget target) |
static Type |
Type.create(DotName name,
Type.Kind kind)
Creates a type instance of the specified kind.
|
(package private) Type[] |
MethodInternal.exceptionArray() |
Type |
WildcardType.extendsBound()
Returns the extends (upper) bound of this wildcard.
|
private static Type[] |
Indexer.getTypeParameters(AnnotationTarget target) |
(package private) Type[] |
GenericSignatureParser.ClassSignature.interfaces() |
(package private) Type[] |
ClassInfo.interfaceTypeArray() |
(package private) Type |
NameTable.intern(Type type) |
private Type |
Indexer.intern(Type type) |
(package private) Type[] |
NameTable.intern(Type[] types) |
private Type[] |
Indexer.intern(Type[] type) |
Type[] |
GenericSignatureParser.MethodSignature.methodParameters() |
Type |
ParameterizedType.owner()
Returns the owner (enclosing) type of this parameterized type if the owner is parameterized,
or contains type annotations.
|
(package private) Type[] |
MethodInternal.parameterArray() |
(package private) Type[] |
GenericSignatureParser.ClassSignature.parameters() |
(package private) Type[] |
ClassInfo.EnclosingMethodInfo.parametersArray() |
private Type |
GenericSignatureParser.parseArrayType() |
private Type |
GenericSignatureParser.parseClassTypeSignature() |
(package private) Type |
GenericSignatureParser.parseFieldSignature(java.lang.String signature) |
private Type |
GenericSignatureParser.parseJavaType() |
private Type[] |
Indexer.parseMethodArgs(java.lang.String descriptor,
Indexer.IntegerHolder pos) |
private Type |
GenericSignatureParser.parseReferenceType() |
private Type |
GenericSignatureParser.parseReturnType() |
private Type |
Indexer.parseType(java.lang.String descriptor) |
private Type |
Indexer.parseType(java.lang.String descriptor,
Indexer.IntegerHolder pos) |
private Type |
GenericSignatureParser.parseTypeArgument() |
private Type[] |
GenericSignatureParser.parseTypeArguments() |
private Type[] |
GenericSignatureParser.parseTypeList(boolean argument) |
private Type |
GenericSignatureParser.parseTypeParameter() |
private Type[] |
GenericSignatureParser.parseTypeParameters() |
private Type |
GenericSignatureParser.parseTypeVariable() |
private Type |
GenericSignatureParser.parseWildCard(boolean isExtends) |
private Type |
IndexReaderV1.readType(PackedDataInputStream stream) |
private Type |
IndexReaderV2.readTypeEntry(PackedDataInputStream stream) |
private Type[] |
IndexReaderV2.readTypeListEntry(PackedDataInputStream stream) |
private Type[] |
IndexReaderV2.readTypeListReference(PackedDataInputStream stream) |
private Type |
Indexer.rebuildNestedType(Type type,
int depth,
Indexer.TypeAnnotationState typeAnnotationState) |
Type |
MethodInfo.receiverType()
Returns the receiver type of this method (a declaration of the "this" reference), if specified.
|
(package private) Type |
MethodInternal.receiverType(ClassInfo clazz) |
(package private) Type |
MethodInternal.receiverTypeField() |
private Type |
GenericSignatureParser.resolveType(Type type) |
private Type |
Indexer.resolveTypePath(Type type,
Indexer.TypeAnnotationState typeAnnotationState) |
(package private) Type |
MethodInternal.returnType() |
Type |
MethodInfo.returnType()
Returns this method's return parameter type.
|
Type |
GenericSignatureParser.MethodSignature.returnType() |
Type |
ClassInfo.EnclosingMethodInfo.returnType()
Returns the return type of the method.
|
private Type |
Indexer.searchNestedType(Type type,
int depth,
Indexer.TypeAnnotationState typeAnnotationState) |
private Type |
Indexer.searchTypePath(Type type,
Indexer.TypeAnnotationState typeAnnotationState) |
Type |
WildcardType.superBound()
Returns the super (lower) bound of this wildcard.
|
(package private) Type |
GenericSignatureParser.ClassSignature.superClass() |
Type |
ClassInfo.superClassType()
Returns a super type represented by the extends clause of this class.
|
Type |
TypeTarget.target()
Returns the type which contains the respective annotation.
|
Type[] |
GenericSignatureParser.MethodSignature.throwables() |
(package private) Type |
FieldInternal.type() |
Type |
FieldInfo.type()
Returns the
Type declared on this field. |
(package private) Type[] |
MethodInternal.typeParameterArray() |
(package private) Type[] |
MethodInfo.typeParameterArray() |
(package private) Type[] |
ClassInfo.typeParameterArray() |
Type[] |
GenericSignatureParser.MethodSignature.typeParameters() |
Type |
AnnotationValue.ClassValue.value() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Type> |
ParameterizedType.arguments()
Returns the list of arguments passed to this Parameterized type.
|
java.util.List<Type> |
TypeVariable.bounds() |
private java.util.Map<DotName,Type> |
Indexer.buildOwnerMap(Type type) |
(package private) java.util.List<Type> |
MethodInternal.exceptions() |
java.util.List<Type> |
MethodInfo.exceptions()
Returns the list of throwable classes declared to be thrown by this method.
|
java.util.List<Type> |
ClassInfo.interfaceTypes()
Returns the list of types in the implements clause of this class.
|
(package private) java.util.List<Type> |
MethodInternal.parameters() |
java.util.List<Type> |
MethodInfo.parameters()
Returns a list containing the types of all parameters declared on this method, in parameter order.
|
java.util.List<Type> |
ClassInfo.EnclosingMethodInfo.parameters()
Returns the list of parameters declared by this method or constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
IndexWriterV2.addType(Type type) |
private void |
IndexWriterV2.addTypeList(Type[] types) |
private java.util.Map<DotName,Type> |
Indexer.buildOwnerMap(Type type) |
private ParameterizedType |
Indexer.convertParameterized(Type oType) |
(package private) TypeVariable |
TypeVariable.copyType(int boundIndex,
Type bound) |
(package private) Type |
WildcardType.copyType(Type bound) |
(package private) ParameterizedType |
ParameterizedType.copyType(Type owner) |
(package private) ParameterizedType |
ParameterizedType.copyType(Type[] parameters) |
(package private) Type |
ArrayType.copyType(Type component,
int dimensions) |
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
java.lang.String name,
java.lang.String[] parameterNames,
Type[] args,
Type returnType,
short flags,
TypeVariable[] typeParameters,
Type[] exceptions)
Construct a new mock Method instance.
|
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
java.lang.String name,
java.lang.String[] parameterNames,
Type[] args,
Type returnType,
short flags,
TypeVariable[] typeParameters,
Type[] exceptions)
Construct a new mock Method instance.
|
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
java.lang.String name,
java.lang.String[] parameterNames,
Type[] args,
Type returnType,
short flags,
TypeVariable[] typeParameters,
Type[] exceptions)
Construct a new mock Method instance.
|
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
java.lang.String name,
Type[] args,
Type returnType,
short flags)
Construct a new mock Method instance.
|
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
java.lang.String name,
Type[] args,
Type returnType,
short flags)
Construct a new mock Method instance.
|
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
java.lang.String name,
Type[] args,
Type returnType,
short flags,
TypeVariable[] typeParameters,
Type[] exceptions)
Construct a new mock Method instance.
|
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
java.lang.String name,
Type[] args,
Type returnType,
short flags,
TypeVariable[] typeParameters,
Type[] exceptions)
Construct a new mock Method instance.
|
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
java.lang.String name,
Type[] args,
Type returnType,
short flags,
TypeVariable[] typeParameters,
Type[] exceptions)
Construct a new mock Method instance.
|
static FieldInfo |
FieldInfo.create(ClassInfo clazz,
java.lang.String name,
Type type,
short flags)
Construct a new mock Field instance.
|
static ParameterizedType |
ParameterizedType.create(DotName name,
Type[] arguments,
Type owner)
Create a new mock instance.
|
static ParameterizedType |
ParameterizedType.create(DotName name,
Type[] arguments,
Type owner)
Create a new mock instance.
|
static WildcardType |
WildcardType.create(Type bound,
boolean isExtends)
Create a new mock instance of WildcardType.
|
static ArrayType |
ArrayType.create(Type component,
int dimensions)
Create a new mock array type instance with the specified component
and dimensions.
|
static AnnotationValue |
AnnotationValue.createClassValue(java.lang.String name,
Type type) |
(package private) Type |
NameTable.intern(Type type) |
private Type |
Indexer.intern(Type type) |
(package private) Type[] |
NameTable.intern(Type[] types) |
private Type[] |
Indexer.intern(Type[] type) |
private boolean |
IndexWriterV2.markWritten(Type[] types) |
MethodInfo |
ClassInfo.method(java.lang.String name,
Type... parameters)
Retrieves a method based on its signature, which includes a method name and an argument list.
|
private int |
IndexWriterV2.positionOf(Type type) |
private int |
IndexWriterV2.positionOf(Type[] types) |
private Type |
Indexer.rebuildNestedType(Type type,
int depth,
Indexer.TypeAnnotationState typeAnnotationState) |
private TypeVariable |
GenericSignatureParser.resolveBounds(Type type) |
private Type |
GenericSignatureParser.resolveType(Type type) |
private Type |
Indexer.resolveTypePath(Type type,
Indexer.TypeAnnotationState typeAnnotationState) |
private Type |
Indexer.searchNestedType(Type type,
int depth,
Indexer.TypeAnnotationState typeAnnotationState) |
private Type |
Indexer.searchTypePath(Type type,
Indexer.TypeAnnotationState typeAnnotationState) |
(package private) void |
MethodInternal.setExceptions(Type[] exceptions) |
(package private) void |
MethodInfo.setExceptions(Type[] exceptions) |
(package private) void |
ClassInfo.setInterfaceTypes(Type[] interfaceTypes) |
(package private) void |
MethodInternal.setParameters(Type[] parameters) |
(package private) void |
MethodInfo.setParameters(Type[] parameters) |
(package private) void |
MethodInternal.setReceiverType(Type receiverType) |
(package private) void |
MethodInfo.setReceiverType(Type receiverType) |
(package private) void |
MethodInternal.setReturnType(Type returnType) |
(package private) void |
MethodInfo.setReturnType(Type returnType) |
(package private) void |
ClassInfo.setSuperClassType(Type superClassType) |
(package private) void |
TypeTarget.setTarget(Type target) |
(package private) void |
FieldInternal.setType(Type type) |
(package private) void |
FieldInfo.setType(Type type) |
private void |
Indexer.setTypeParameters(AnnotationTarget target,
Type[] typeParameters) |
(package private) void |
MethodInternal.setTypeParameters(Type[] typeParameters) |
(package private) void |
MethodInfo.setTypeParameters(Type[] typeParameters) |
(package private) void |
ClassInfo.setTypeParameters(Type[] typeParameters) |
private void |
IndexWriterV2.writeReference(PackedDataOutputStream stream,
Type type,
boolean nullable) |
private void |
IndexWriterV2.writeReferenceOrFull(PackedDataOutputStream stream,
Type[] types) |
private void |
IndexWriterV1.writeType(PackedDataOutputStream stream,
Type type) |
private void |
IndexWriterV2.writeTypeEntry(PackedDataOutputStream stream,
Type type) |
private void |
IndexWriterV2.writeTypeListEntry(PackedDataOutputStream stream,
Type[] types) |
Modifier and Type | Method and Description |
---|---|
private void |
GenericSignatureParser.resolveTypeList(java.util.ArrayList<Type> list) |
Constructor and Description |
---|
ArrayType(Type component,
int dimensions) |
ArrayType(Type component,
int dimensions,
AnnotationInstance[] annotations) |
ClassExtendsTypeTarget(AnnotationTarget enclosingTarget,
Type target,
int position) |
ClassInfo(DotName name,
Type superClassType,
short flags,
Type[] interfaceTypes,
java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations) |
ClassInfo(DotName name,
Type superClassType,
short flags,
Type[] interfaceTypes,
java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations) |
ClassInfo(DotName name,
Type superClassType,
short flags,
Type[] interfaceTypes,
java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations,
boolean hasNoArgsConstructor) |
ClassInfo(DotName name,
Type superClassType,
short flags,
Type[] interfaceTypes,
java.util.Map<DotName,java.util.List<AnnotationInstance>> annotations,
boolean hasNoArgsConstructor) |
ClassSignature(Type[] parameters,
Type superClass,
Type[] interfaces) |
ClassSignature(Type[] parameters,
Type superClass,
Type[] interfaces) |
ClassSignature(Type[] parameters,
Type superClass,
Type[] interfaces) |
ClassValue(java.lang.String name,
Type type) |
EmptyTypeTarget(AnnotationTarget enclosingTarget,
Type target,
boolean receiver) |
EnclosingMethodInfo(java.lang.String name,
Type returnType,
Type[] parameters,
DotName enclosingClass) |
EnclosingMethodInfo(java.lang.String name,
Type returnType,
Type[] parameters,
DotName enclosingClass) |
FieldInfo(ClassInfo clazz,
byte[] name,
Type type,
short flags) |
FieldInternal(byte[] name,
Type type,
short flags) |
FieldInternal(byte[] name,
Type type,
short flags,
AnnotationInstance[] annotations) |
MethodInfo(ClassInfo clazz,
byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags) |
MethodInfo(ClassInfo clazz,
byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags) |
MethodInfo(ClassInfo clazz,
byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type[] typeParameters,
Type[] exceptions) |
MethodInfo(ClassInfo clazz,
byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type[] typeParameters,
Type[] exceptions) |
MethodInfo(ClassInfo clazz,
byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type[] typeParameters,
Type[] exceptions) |
MethodInfo(ClassInfo clazz,
byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type[] typeParameters,
Type[] exceptions) |
MethodInternal(byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags) |
MethodInternal(byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags) |
MethodInternal(byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type[] typeParameters,
Type[] exceptions) |
MethodInternal(byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type[] typeParameters,
Type[] exceptions) |
MethodInternal(byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type[] typeParameters,
Type[] exceptions) |
MethodInternal(byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type[] typeParameters,
Type[] exceptions) |
MethodInternal(byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type receiverType,
Type[] typeParameters,
Type[] exceptions,
AnnotationInstance[] annotations,
AnnotationValue defaultValue) |
MethodInternal(byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type receiverType,
Type[] typeParameters,
Type[] exceptions,
AnnotationInstance[] annotations,
AnnotationValue defaultValue) |
MethodInternal(byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type receiverType,
Type[] typeParameters,
Type[] exceptions,
AnnotationInstance[] annotations,
AnnotationValue defaultValue) |
MethodInternal(byte[] name,
byte[][] parameterNames,
Type[] parameters,
Type returnType,
short flags,
Type receiverType,
Type[] typeParameters,
Type[] exceptions,
AnnotationInstance[] annotations,
AnnotationValue defaultValue) |
MethodParameterTypeTarget(AnnotationTarget enclosingTarget,
Type target,
int position) |
MethodSignature(Type[] typeParameters,
Type[] methodParameters,
Type returnType,
Type[] throwables) |
MethodSignature(Type[] typeParameters,
Type[] methodParameters,
Type returnType,
Type[] throwables) |
MethodSignature(Type[] typeParameters,
Type[] methodParameters,
Type returnType,
Type[] throwables) |
MethodSignature(Type[] typeParameters,
Type[] methodParameters,
Type returnType,
Type[] throwables) |
ParameterizedType(DotName name,
Type[] arguments,
Type owner) |
ParameterizedType(DotName name,
Type[] arguments,
Type owner) |
ParameterizedType(DotName name,
Type[] arguments,
Type owner,
AnnotationInstance[] annotations) |
ParameterizedType(DotName name,
Type[] arguments,
Type owner,
AnnotationInstance[] annotations) |
PositionBasedTypeTarget(AnnotationTarget enclosingTarget,
Type target,
int position) |
ThrowsTypeTarget(AnnotationTarget enclosingTarget,
Type target,
int position) |
TypeParameterBoundTypeTarget(AnnotationTarget enclosingTarget,
Type target,
int position,
int boundPosition) |
TypeParameterTypeTarget(AnnotationTarget enclosingTarget,
Type target,
int position) |
TypeTarget(AnnotationTarget enclosingTarget,
Type target) |
TypeVariable(java.lang.String name,
Type[] bounds) |
TypeVariable(java.lang.String name,
Type[] bounds,
AnnotationInstance[] annotations) |
WildcardType(Type bound,
boolean isExtends) |
WildcardType(Type bound,
boolean isExtends,
AnnotationInstance[] annotations) |