Package com.strobel.reflection
Class PrimitiveType<T>
java.lang.Object
com.strobel.reflection.MemberInfo
com.strobel.reflection.Type<T>
com.strobel.reflection.PrimitiveType<T>
- All Implemented Interfaces:
AnnotatedElement,Type
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final TypeKindprivate final StringFields 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, ValueFields inherited from class com.strobel.reflection.MemberInfo
EMPTY_ANNOTATIONS, ENUM_MODIFIER, VARARGS_MODIFIER -
Constructor Summary
ConstructorsConstructorDescriptionPrimitiveType(Class<T> clazz, char signature, String description, TypeKind kind) -
Method Summary
Modifier and TypeMethodDescription<P,R> R accept(TypeVisitor<P, R> visitor, P parameter) <A extends Annotation>
AgetAnnotation(Class<A> annotationClass) getConstructor(Set<BindingFlags> bindingFlags, CallingConvention callingConvention, Type<?>... parameterTypes) getConstructors(Set<BindingFlags> bindingFlags) Type<?> getField(String name, Set<BindingFlags> bindingFlags) getFields(Set<BindingFlags> bindingFlags) getKind()MemberList<?> getMember(String name, Set<BindingFlags> bindingFlags, Set<MemberType> memberTypes) MemberList<?> getMembers(Set<BindingFlags> bindingFlags, Set<MemberType> memberTypes) getMethod(String name, Set<BindingFlags> bindingFlags, CallingConvention callingConvention, Type<?>... parameterTypes) getMethods(Set<BindingFlags> bindingFlags, CallingConvention callingConvention) intgetNestedTypes(Set<BindingFlags> bindingFlags) protected TypeBindingsbooleanisAnnotationPresent(Class<? extends Annotation> annotationClass) booleanMethods inherited from class com.strobel.reflection.Type
_appendClassDescription, _appendClassName, _appendClassSignature, _appendErasedClassSignature, appendErasedDescription, appendGenericSignature, asSuperTypeOf, bottomType, containsGenericParameter, containsGenericParameters, filterMethodBase, filterPreCalculate, findMembers, forName, forName, getBaseType, getCache, getClassFullName, getClassSimpleName, getConstructor, getConstructor, getConstructors, getDeclaredConstructors, getDeclaredFields, getDeclaredMethods, getDeclaredTypes, getDeclaringMethod, getElementType, getEnumConstants, getEnumNames, getErasedType, getExplicitInterfaces, getExtendsBound, getField, getFields, getGenericParameterPosition, getGenericSignature, getGenericTypeDefinition, getGenericTypeParameters, getInterfaces, getMember, getMember, getMembers, getMembers, getMembers, getMembers, getMembersOfType, getMethod, getMethod, getMethods, getMethods, getMostSpecificType, getName, getNestedType, getNestedType, getNestedTypes, getPackage, getRootElementType, getShortName, getSuperBound, getType, getTypeArguments, getUnderlyingType, getUnderlyingTypeCore, hasElementType, hasExtendsBound, hashCode, hasSuperBound, implementsInterface, invalidateCaches, isAbstract, isArray, isAssignableFrom, isBoundedType, isClass, isCompoundType, isEnum, isEquivalentTo, isEquivalentTo, isGenericParameter, isGenericType, isGenericTypeDefinition, isInstance, isInterface, isLocalClass, isNested, 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, unboundedWildcardMethods 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, isStaticMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.reflect.Type
getTypeName
-
Field Details
-
_class
-
_signature
-
_description
-
_kind
-
-
Constructor Details
-
PrimitiveType
-
-
Method Details
-
getKind
-
isPrimitive
public boolean isPrimitive()- Overrides:
isPrimitivein classType<T>
-
getErasedClass
- Overrides:
getErasedClassin classType<T>
-
getTypeBindings
- Overrides:
getTypeBindingsin classType<T>
-
getMember
public MemberList<?> getMember(String name, Set<BindingFlags> bindingFlags, Set<MemberType> memberTypes) -
getField
-
getMethod
public MethodInfo getMethod(String name, Set<BindingFlags> bindingFlags, CallingConvention callingConvention, Type<?>... parameterTypes) -
getConstructor
public ConstructorInfo getConstructor(Set<BindingFlags> bindingFlags, CallingConvention callingConvention, Type<?>... parameterTypes) - Overrides:
getConstructorin classType<T>
-
getMembers
- Overrides:
getMembersin classType<T>
-
getFields
-
getMethods
- Overrides:
getMethodsin classType<T>
-
getConstructors
- Overrides:
getConstructorsin classType<T>
-
getNestedTypes
- Overrides:
getNestedTypesin classType<T>
-
createArrayType
- Overrides:
createArrayTypein classType<T>
-
getMemberType
- Overrides:
getMemberTypein classType<T>
-
getFullName
- Overrides:
getFullNamein classType<T>
-
getInternalName
- Overrides:
getInternalNamein classType<T>
-
getDeclaringType
- Specified by:
getDeclaringTypein classMemberInfo
-
getModifiers
public int getModifiers()- Specified by:
getModifiersin classMemberInfo
-
isAnnotationPresent
- Specified by:
isAnnotationPresentin interfaceAnnotatedElement- Overrides:
isAnnotationPresentin classType<T>
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotatedElement- Overrides:
getAnnotationin classType<T>
-
getAnnotations
- Specified by:
getAnnotationsin interfaceAnnotatedElement- Overrides:
getAnnotationsin classType<T>
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotationsin interfaceAnnotatedElement- Overrides:
getDeclaredAnnotationsin classType<T>
-
accept
-
appendSignature
- Overrides:
appendSignaturein classType<T>
-
appendErasedSignature
- Overrides:
appendErasedSignaturein classType<T>
-
appendDescription
- Overrides:
appendDescriptionin classType<T>
-
appendBriefDescription
- Overrides:
appendBriefDescriptionin classType<T>
-
appendSimpleDescription
- Overrides:
appendSimpleDescriptionin classType<T>
-