Package com.strobel.reflection
Class ArrayType<T>
java.lang.Object
com.strobel.reflection.MemberInfo
com.strobel.reflection.Type<T>
com.strobel.reflection.ArrayType<T>
- All Implemented Interfaces:
AnnotatedElement
,Type
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Type
<?> private final FieldList
private final MethodList
Fields inherited from class com.strobel.reflection.Type
Bottom, CACHE, CACHE_LOCK, DefaultBinder, DefaultLookup, Delimiter, EmptyConstructors, EmptyFields, EmptyMembers, EmptyMethods, EmptyObjects, EmptyStrings, EmptyTypes, FilterMethodOverride, FilterName, FilterNameIgnoreCase, FilterRawMember, NullType, PRIMITIVE_TYPES, RESOLVER, TYPE_BINDER, Value
Fields inherited from class com.strobel.reflection.MemberInfo
EMPTY_ANNOTATIONS, ENUM_MODIFIER, VARARGS_MODIFIER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P,
R> R accept
(TypeVisitor<P, R> visitor, P parameter) <A extends Annotation>
AgetAnnotation
(Class<A> annotationClass) protected String
protected String
protected MethodList
Type
<?> Type
<?> Type
<?> getKind()
int
boolean
boolean
isAnnotationPresent
(Class<? extends Annotation> annotationClass) boolean
isArray()
boolean
Methods inherited from class com.strobel.reflection.Type
_appendClassDescription, _appendClassName, _appendClassSignature, _appendErasedClassSignature, appendErasedDescription, appendGenericSignature, asSuperTypeOf, bottomType, containsGenericParameter, containsGenericParameters, createArrayType, filterMethodBase, filterPreCalculate, findMembers, forName, forName, getBaseType, getCache, getConstructor, getConstructor, getConstructor, getConstructors, getConstructors, getDeclaredConstructors, getDeclaredTypes, getDeclaringMethod, getEnumConstants, getEnumNames, getErasedType, getExplicitInterfaces, getExtendsBound, getField, getField, getFields, getFields, getFullName, getGenericParameterPosition, getGenericSignature, getGenericTypeParameters, getInterfaces, getMember, getMember, getMember, getMembers, getMembers, getMembers, getMembers, getMembers, getMembersOfType, getMemberType, getMethod, getMethod, getMethod, getMethods, getMethods, getMethods, getMostSpecificType, getName, getNestedType, getNestedType, getNestedTypes, getNestedTypes, getPackage, getRootElementType, getShortName, getSuperBound, getType, getTypeArguments, getUnderlyingType, getUnderlyingTypeCore, hasExtendsBound, hashCode, hasSuperBound, implementsInterface, invalidateCaches, isAbstract, isAssignableFrom, isBoundedType, isClass, isCompoundType, isEnum, isEquivalentTo, isEquivalentTo, isGenericParameter, isGenericTypeDefinition, isInstance, isInterface, isLocalClass, isNested, isPrimitive, isRawType, isSubTypeOf, isSynthetic, isUnbounded, isVisible, isWildcardType, list, list, list, makeArrayType, makeArrayType, makeCompoundType, makeCompoundType, makeExtendsWildcard, makeGenericType, makeGenericType, makeGenericTypeCore, makeSuperWildcard, makeWildcard, newInstance, nullType, of, of, substitute, toString, tryFind, unboundedWildcard
Methods inherited from class com.strobel.reflection.MemberInfo
emptyAnnotations, equals, getAnnotationsByType, getBriefDescription, getDeclaredAnnotation, getDeclaredAnnotationsByType, getDescription, getErasedDescription, getErasedSignature, getReflectedType, getSignature, getSimpleDescription, isFinal, isNonPublic, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.reflect.Type
getTypeName
-
Field Details
-
_elementType
-
_fields
-
_methods
-
_erasedClass
-
-
Constructor Details
-
ArrayType
ArrayType(Type<?> elementType)
-
-
Method Details
-
getKind
-
getClassFullName
- Overrides:
getClassFullName
in classType<T>
-
getClassSimpleName
- Overrides:
getClassSimpleName
in classType<T>
-
getInternalName
- Overrides:
getInternalName
in classType<T>
-
getErasedClass
- Overrides:
getErasedClass
in classType<T>
-
getElementType
- Overrides:
getElementType
in classType<T>
-
isArray
public boolean isArray() -
isGenericType
public boolean isGenericType()- Overrides:
isGenericType
in classType<T>
-
hasElementType
public boolean hasElementType()- Overrides:
hasElementType
in classType<T>
-
getGenericTypeDefinition
- Overrides:
getGenericTypeDefinition
in classType<T>
-
getTypeBindings
- Overrides:
getTypeBindings
in classType<T>
-
getDeclaringType
- Specified by:
getDeclaringType
in classMemberInfo
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in classMemberInfo
-
getDeclaredMethods
- Overrides:
getDeclaredMethods
in classType<T>
-
getDeclaredFields
- Overrides:
getDeclaredFields
in classType<T>
-
isAnnotationPresent
- Specified by:
isAnnotationPresent
in interfaceAnnotatedElement
- Overrides:
isAnnotationPresent
in classType<T>
-
getAnnotation
- Specified by:
getAnnotation
in interfaceAnnotatedElement
- Overrides:
getAnnotation
in classType<T>
-
getAnnotations
- Specified by:
getAnnotations
in interfaceAnnotatedElement
- Overrides:
getAnnotations
in classType<T>
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceAnnotatedElement
- Overrides:
getDeclaredAnnotations
in classType<T>
-
appendSignature
- Overrides:
appendSignature
in classType<T>
-
appendErasedSignature
- Overrides:
appendErasedSignature
in classType<T>
-
appendBriefDescription
- Overrides:
appendBriefDescription
in classType<T>
-
appendSimpleDescription
- Overrides:
appendSimpleDescription
in classType<T>
-
appendDescription
- Overrides:
appendDescription
in classType<T>
-
accept
-