public class ReflectionFieldDeclaration extends Object implements ResolvedFieldDeclaration
| Constructor and Description |
|---|
ReflectionFieldDeclaration(Field field,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
AccessSpecifier |
accessSpecifier() |
ResolvedTypeDeclaration |
declaringType() |
String |
getName() |
ResolvedType |
getType() |
boolean |
isField() |
boolean |
isParameter() |
boolean |
isStatic() |
boolean |
isType() |
boolean |
isVolatile() |
ResolvedFieldDeclaration |
replaceType(ResolvedType fieldType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasFieldasEnumConstant, asMethod, asParameter, asPattern, asType, hasName, isEnumConstant, isMethod, isPattern, isVariabletoAst, toAstpublic ReflectionFieldDeclaration(Field field, TypeSolver typeSolver)
public ResolvedType getType()
getType in interface ResolvedValueDeclarationpublic String getName()
getName in interface ResolvedDeclarationpublic boolean isStatic()
isStatic in interface ResolvedFieldDeclarationpublic boolean isVolatile()
isVolatile in interface ResolvedFieldDeclarationpublic boolean isField()
isField in interface ResolvedDeclarationisField in interface ResolvedFieldDeclarationpublic ResolvedTypeDeclaration declaringType()
declaringType in interface ResolvedFieldDeclarationpublic ResolvedFieldDeclaration replaceType(ResolvedType fieldType)
public boolean isParameter()
isParameter in interface ResolvedDeclarationpublic boolean isType()
isType in interface ResolvedDeclarationpublic AccessSpecifier accessSpecifier()
accessSpecifier in interface HasAccessSpecifierCopyright © 2007–2024. All rights reserved.