public class JavaParserFieldDeclaration extends Object implements ResolvedFieldDeclaration
| Constructor and Description |
|---|
JavaParserFieldDeclaration(VariableDeclarator variableDeclarator,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
AccessSpecifier |
accessSpecifier() |
ResolvedTypeDeclaration |
declaringType() |
String |
getName() |
ResolvedType |
getType() |
VariableDeclarator |
getVariableDeclarator() |
FieldDeclaration |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserFieldDeclaration.
|
boolean |
isField() |
boolean |
isStatic() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasFieldasEnumConstant, asMethod, asParameter, asType, hasName, isEnumConstant, isMethod, isParameter, isType, isVariablepublic JavaParserFieldDeclaration(VariableDeclarator variableDeclarator, TypeSolver typeSolver)
public ResolvedType getType()
getType in interface ResolvedValueDeclarationpublic String getName()
getName in interface ResolvedDeclarationpublic boolean isStatic()
isStatic in interface ResolvedFieldDeclarationpublic boolean isField()
isField in interface ResolvedDeclarationisField in interface ResolvedFieldDeclarationpublic FieldDeclaration getWrappedNode()
public VariableDeclarator getVariableDeclarator()
public AccessSpecifier accessSpecifier()
accessSpecifier in interface HasAccessSpecifierpublic ResolvedTypeDeclaration declaringType()
declaringType in interface ResolvedFieldDeclarationCopyright © 2007–2020. All rights reserved.