public class ReflectionFieldDeclaration extends Object implements FieldDeclaration
Constructor and Description |
---|
ReflectionFieldDeclaration(Field field,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
AccessLevel |
accessLevel() |
TypeDeclaration |
declaringType() |
String |
getName() |
Type |
getType() |
boolean |
isField() |
boolean |
isParameter() |
boolean |
isStatic() |
boolean |
isType() |
FieldDeclaration |
replaceType(Type fieldType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asField
asMethod, asParameter, asType, hasName, isMethod
public ReflectionFieldDeclaration(Field field, TypeSolver typeSolver)
public Type getType()
getType
in interface ValueDeclaration
public String getName()
getName
in interface Declaration
public boolean isStatic()
isStatic
in interface FieldDeclaration
public boolean isField()
isField
in interface Declaration
isField
in interface FieldDeclaration
public TypeDeclaration declaringType()
declaringType
in interface FieldDeclaration
public FieldDeclaration replaceType(Type fieldType)
public boolean isParameter()
isParameter
in interface Declaration
public boolean isType()
isType
in interface Declaration
public AccessLevel accessLevel()
accessLevel
in interface HasAccessLevel
Copyright © 2016. All rights reserved.