Package io.determann.shadow.api.shadow
Interface Field
- All Superinterfaces:
AccessModifiable,Annotationable<VariableElement>,ApiHolder,ElementBacked<VariableElement>,FinalModifiable,MirrorBacked<TypeMirror>,Modifiable,Shadow<TypeMirror>,StaticModifiable,Variable<Declared>
- All Known Implementing Classes:
FieldImpl
public interface Field
extends Variable<Declared>, AccessModifiable, FinalModifiable, StaticModifiable
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbe careful using this equalserasure()convince method returns the erasure of the field typeString or primitive value of static fieldsbooleanMethods inherited from interface io.determann.shadow.api.modifier.AccessModifiable
isPackagePrivate, isPrivate, isProtected, isPublicMethods inherited from interface io.determann.shadow.api.Annotationable
getAnnotationUsages, getDirectAnnotationUsages, getDirectUsageOf, getDirectUsageOfOrThrow, getDirectUsagesOf, getUsageOf, getUsageOfOrThrow, getUsagesOf, isAnnotatedWith, isDirectlyAnnotatedWithMethods inherited from interface io.determann.shadow.api.ElementBacked
getElement, getJavaDoc, getModifiers, getModule, getSimpleName, logError, logInfo, logWarningMethods inherited from interface io.determann.shadow.api.modifier.FinalModifiable
isFinalMethods inherited from interface io.determann.shadow.api.modifier.Modifiable
hasModifierMethods inherited from interface io.determann.shadow.api.shadow.Shadow
getApi, getMirror, getTypeKind, isTypeKind, representsSameTypeMethods inherited from interface io.determann.shadow.api.modifier.StaticModifiable
isStaticMethods inherited from interface io.determann.shadow.api.shadow.Variable
getPackage, getSurrounding, getType, isAssignableFrom, isSubtypeOf
-
Method Details
-
isConstant
boolean isConstant() -
getConstantValue
Object getConstantValue()String or primitive value of static fields -
erasure
Shadow<TypeMirror> erasure()convince method returns the erasure of the field type -
equals
be careful using this equals
-