public class ReflectionFieldDeclaration extends Object implements FieldDeclaration
| Constructor and Description |
|---|
ReflectionFieldDeclaration(Field field,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
TypeUsage |
getType() |
boolean |
isField() |
boolean |
isParameter() |
boolean |
isType() |
boolean |
isVariable() |
FieldDeclaration |
replaceType(TypeUsage fieldType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasFieldasMethod, asParameter, asType, hasName, isMethodpublic ReflectionFieldDeclaration(Field field, TypeSolver typeSolver)
public TypeUsage getType()
getType in interface ValueDeclarationpublic String getName()
getName in interface Declarationpublic boolean isField()
isField in interface DeclarationisField in interface FieldDeclarationpublic FieldDeclaration replaceType(TypeUsage fieldType)
replaceType in interface FieldDeclarationpublic boolean isParameter()
isParameter in interface Declarationpublic boolean isVariable()
isVariable in interface Declarationpublic boolean isType()
isType in interface DeclarationCopyright © 2016. All rights reserved.