Package io.determann.shadow.impl.shadow
Class FieldImpl
- All Implemented Interfaces:
Annotationable<VariableElement>,ApiHolder,ElementBacked<VariableElement>,MirrorBacked<TypeMirror>,AccessModifiable,FinalModifiable,Modifiable,StaticModifiable,Field,Shadow<TypeMirror>,Variable<Declared>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionerasure()convince method returns the erasure of the field typeString or primitive value of static fieldsbooleanMethods inherited from class io.determann.shadow.impl.shadow.VariableImpl
equals, getElement, getPackage, getSurrounding, getType, getTypeKind, hashCode, isAssignableFrom, isSubtypeOf, toStringMethods inherited from class io.determann.shadow.impl.shadow.ShadowImpl
getApi, getMirror, isTypeKind, representsSameTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-
Constructor Details
-
FieldImpl
-
-
Method Details
-
isConstant
public boolean isConstant()- Specified by:
isConstantin interfaceField
-
getConstantValue
Description copied from interface:FieldString or primitive value of static fields- Specified by:
getConstantValuein interfaceField
-
erasure
Description copied from interface:Fieldconvince method returns the erasure of the field type
-