public TypeInfo getArrayType() { Class<?> arrayClass = getArrayClass(getType()); return classInfoHelper.getTypeInfo(arrayClass); }
public InterfaceInfo[] getInterfaces() { if (interfaces == UNKNOWN_INTERFACES) setInterfaces(classInfoHelper.getInterfaces(this)); return interfaces; }
/** * Get all the annotations as a map * * @return the map */ protected Map<String, AnnotationValue> getAllAnnotations() { if (allAnnotations == UNKNOWN_ANNOTATIONS_MAP) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return allAnnotations; }
public MethodInfo getDeclaredMethod(String methodName, TypeInfo... parameters) { if (methods == UNKNOWN_METHODS) setDeclaredMethods(classInfoHelper.getMethods(this)); return findMethod(methods, methodName, parameters); }
public ConstructorInfo getDeclaredConstructor(TypeInfo... parameters) { if (constructors == UNKNOWN_CONSTRUCTORS) setDeclaredConstructors(classInfoHelper.getConstructors(this)); return findConstructor(constructors, parameters); }
public FieldInfo[] getDeclaredFields() { if (fields == UNKNOWN_FIELDS) setDeclaredFields(classInfoHelper.getFields(this)); return fields; }
public InterfaceInfo[] getGenericInterfaces() { if (genericInterfaces == UNKNOWN_INTERFACES) setGenericInterfaces(classInfoHelper.getGenericInterfaces(this)); return genericInterfaces; }
public ConstructorInfo[] getDeclaredConstructors() { if (constructors == UNKNOWN_CONSTRUCTORS) setDeclaredConstructors(classInfoHelper.getConstructors(this)); return constructors; }
public MethodInfo[] getDeclaredMethods() { if (methods == UNKNOWN_METHODS) setDeclaredMethods(classInfoHelper.getMethods(this)); return methods; }
public ClassInfo getGenericSuperclass() { if (genericSuperclass == UNKNOWN_CLASS) setGenericSuperclass(classInfoHelper.getGenericSuperClass(this)); return genericSuperclass; }
public ClassInfo getSuperclass() { if (superclass == UNKNOWN_CLASS) setSuperclass(classInfoHelper.getSuperClass(this)); return superclass; }
public MethodInfo getDeclaredMethod(String name, TypeInfo[] parameters) { if (methods == UNKNOWN_METHODS) setDeclaredMethods(classInfoHelper.getMethods(this)); return findMethod(methods, name, parameters); }
public AnnotationValue[] getAnnotations() { if (allAnnotationsArray == UNKNOWN_ANNOTATIONS) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return allAnnotationsArray; }
public FieldInfo[] getDeclaredFields() { if (fields == UNKNOWN_FIELDS) setDeclaredFields(classInfoHelper.getFields(this)); return fields; }
public InterfaceInfo[] getGenericInterfaces() { if (genericInterfaces == UNKNOWN_INTERFACES) setGenericInterfaces(classInfoHelper.getGenericInterfaces(this)); return genericInterfaces; }
public ConstructorInfo[] getDeclaredConstructors() { if (constructors == UNKNOWN_CONSTRUCTORS) setDeclaredConstructors(classInfoHelper.getConstructors(this)); return constructors; }
public MethodInfo[] getDeclaredMethods() { if (methods == UNKNOWN_METHODS) setDeclaredMethods(classInfoHelper.getMethods(this)); return methods; }
public ClassInfo getGenericSuperclass() { if (genericSuperclass == UNKNOWN_CLASS) setGenericSuperclass(classInfoHelper.getGenericSuperClass(this)); return genericSuperclass; }
public AnnotationValue[] getAnnotations() { if (allAnnotationsArray == UNKNOWN_ANNOTATIONS) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return allAnnotationsArray; }
/** * Get the declared annotations * * @return the declared annotations */ protected AnnotationValue[] getDeclaredAnnotations() { if (declaredAnnotationsArray == UNKNOWN_ANNOTATIONS) setupAnnotations(annotationHelper.getAnnotations(annotatedElement)); return declaredAnnotationsArray; }