public interface ClassElement extends TypedElement
CLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBEREMPTY| Modifier and Type | Method and Description | 
|---|---|
| default java.util.List<PropertyElement> | getBeanProperties()Returns the bean properties (getters and setters) for this class element. | 
| default java.util.Optional<MethodElement> | getDefaultConstructor()Find and return a single default constructor. | 
| default java.util.List<FieldElement> | getFields()Return all the fields of this class element. | 
| default java.util.List<FieldElement> | getFields(java.util.function.Predicate<java.util.Set<ElementModifier>> modifierFilter)Return fields contained with the given modifiers include / exclude rules. | 
| default java.util.Optional<ClassElement> | getFirstTypeArgument() | 
| default java.lang.String | getPackageName()The package name. | 
| default java.util.Optional<MethodElement> | getPrimaryConstructor()Find and return a single primary constructor. | 
| default java.lang.String | getSimpleName()The simple name without the package name. | 
| default java.util.Optional<ClassElement> | getSuperType()Returns the super type of this element or empty if the element has no super type. | 
| default ClassElement | getType() | 
| default java.util.Map<java.lang.String,ClassElement> | getTypeArguments() | 
| default java.util.Map<java.lang.String,ClassElement> | getTypeArguments(java.lang.Class<?> type)Get the type arguments for the given type name. | 
| default java.util.Map<java.lang.String,ClassElement> | getTypeArguments(java.lang.String type)Get the type arguments for the given type name. | 
| default boolean | isAssignable(java.lang.Class<?> type)Tests whether one type is assignable to another. | 
| boolean | isAssignable(java.lang.String type)Tests whether one type is assignable to another. | 
| default boolean | isEnum()Whether this element is an enum. | 
| default boolean | isInterface() | 
| default boolean | isIterable() | 
| ClassElement | toArray()Convert the class element to an element for the same type, but representing an array. | 
getArrayDimensions, getGenericType, isArray, isPrimitiveannotate, annotate, annotate, annotate, getDocumentation, getName, getNativeType, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStaticbooleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, enumValues, enumValues, enumValues, enumValues, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasSimpleAnnotation, hasSimpleDeclaredAnnotation, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeisDeclaredNonNull, isDeclaredNullable, isNonNull, isNullablegetAnnotationMetadataboolean isAssignable(java.lang.String type)
type - The type to checktrue if and only if the this type is assignable to the seconddefault boolean isEnum()
@NonNull default java.util.Optional<MethodElement> getPrimaryConstructor()
Creator or Inject.@NonNull default java.util.Optional<MethodElement> getDefaultConstructor()
default java.util.Optional<ClassElement> getSuperType()
@NonNull default ClassElement getType()
getType in interface TypedElementdefault java.lang.String getSimpleName()
getSimpleName in interface Elementdefault java.lang.String getPackageName()
default java.util.List<PropertyElement> getBeanProperties()
default java.util.List<FieldElement> getFields()
default java.util.List<FieldElement> getFields(@NonNull java.util.function.Predicate<java.util.Set<ElementModifier>> modifierFilter)
modifierFilter - Can be used to filter fields by modifierdefault boolean isInterface()
default boolean isIterable()
@NonNull default java.util.Map<java.lang.String,ClassElement> getTypeArguments(@NonNull java.lang.String type)
type - The type to retrieve type arguments for@NonNull default java.util.Map<java.lang.String,ClassElement> getTypeArguments(@NonNull java.lang.Class<?> type)
type - The type to retrieve type arguments for@NonNull default java.util.Map<java.lang.String,ClassElement> getTypeArguments()
default java.util.Optional<ClassElement> getFirstTypeArgument()
default boolean isAssignable(java.lang.Class<?> type)
type - The type to checktrue if and only if the this type is assignable to the secondClassElement toArray()