protected static class AgentBuilder.DescriptionStrategy.Default.TypeDescriptionWithFallbackProperties extends TypeDescription.ForLoadedType
TypePool
description if the type's declared types,
fields or methods cannot be resolved successfully.TypeDescription.ForLoadedType.WithEagerProperties
TypeDescription.AbstractBase.OfSimpleType
TypeDescription.AbstractBase, TypeDescription.ArrayProjection, TypeDescription.ForLoadedType, TypeDescription.ForPackageDescription, TypeDescription.Generic, TypeDescription.Latent
TypeDefinition.Sort, TypeDefinition.SuperClassIterator
ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration
ByteCodeElement.Token<T extends ByteCodeElement.Token<T>>, ByteCodeElement.TypeDependant<T extends ByteCodeElement.TypeDependant<?,S>,S extends ByteCodeElement.Token<S>>
NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
TypeVariableSource.Visitor<T>
ARRAY_INTERFACES, CLASS, OBJECT, STRING, THROWABLE, UNDEFINED, VOID
EMPTY_MASK
NON_GENERIC_SIGNATURE
EMPTY_NAME, NO_NAME
Modifier | Constructor and Description |
---|---|
protected |
TypeDescriptionWithFallbackProperties(String typeName,
Class<?> type,
TypePool typePool) |
Modifier and Type | Method and Description |
---|---|
FieldList<FieldDescription.InDefinedShape> |
getDeclaredFields()
Returns the fields that this type declares.
|
MethodList<MethodDescription.InDefinedShape> |
getDeclaredMethods()
Returns the methods that this type declares.
|
TypeList |
getDeclaredTypes()
Returns a list of types that are declared by this type excluding anonymous classes.
|
getCanonicalName, getComponentType, getDeclaredAnnotations, getDeclaringType, getDescriptor, getEnclosingMethod, getEnclosingType, getInterfaces, getModifiers, getName, getName, getPackage, getSimpleName, getStackSize, getSuperClass, getTypeVariables, isAnnotation, isAnonymousClass, isArray, isAssignableFrom, isAssignableTo, isLocalClass, isMemberClass, isPrimitive, represents
accept, asErasure, asGenericType, equals, getActualModifiers, getActualName, getEnclosingSource, getGenericSignature, getInheritedAnnotations, getInternalName, getSegmentCount, getSort, getTypeName, hashCode, isAnnotationReturnType, isAnnotationValue, isAnnotationValue, isAssignableFrom, isAssignableTo, isConstantPool, isGenericDeclaration, isInstance, isInstanceOrWrapper, isPackageType, isPrimitiveWrapper, isSamePackage, isVisibleTo, iterator, toString
findVariable
isAbstract, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatile
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isInterface
isAbstract
isEnum
isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic
isFinal, isSynthetic
forEach, spliterator
findVariable
public TypeList getDeclaredTypes()
TypeDescription
getDeclaredTypes
in interface TypeDescription
getDeclaredTypes
in class TypeDescription.ForLoadedType
public FieldList<FieldDescription.InDefinedShape> getDeclaredFields()
TypeDefinition
TypeDefinition.Sort.NON_GENERIC
),
parameterized types (TypeDefinition.Sort.PARAMETERIZED
) or generic array types (TypeDefinition.Sort.GENERIC_ARRAY
) types. Generic array
types never define fields and the returned list is always empty for such types.getDeclaredFields
in interface TypeDefinition
getDeclaredFields
in interface TypeDescription
getDeclaredFields
in class TypeDescription.ForLoadedType
TypeDefinition.Sort.NON_GENERIC
),
parameterized types (TypeDefinition.Sort.PARAMETERIZED
) or generic array types (TypeDefinition.Sort.GENERIC_ARRAY
) types. Generic array
types never define methods and the returned list is always empty for such types.public MethodList<MethodDescription.InDefinedShape> getDeclaredMethods()
TypeDefinition
getDeclaredMethods
in interface TypeDefinition
getDeclaredMethods
in interface TypeDescription
getDeclaredMethods
in class TypeDescription.ForLoadedType
Copyright © 2014–2016. All rights reserved.