public class JavaParserFieldDeclaration extends Object implements FieldDeclaration
| Constructor and Description |
|---|
JavaParserFieldDeclaration(com.github.javaparser.ast.body.EnumConstantDeclaration enumConstantDeclaration) |
JavaParserFieldDeclaration(com.github.javaparser.ast.body.VariableDeclarator variableDeclarator,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
TypeUsage |
getType() |
com.github.javaparser.ast.body.FieldDeclaration |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserFieldDeclaration.
|
boolean |
isField() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasField, replaceTypeasMethod, asParameter, asType, hasName, isMethod, isParameter, isType, isVariablepublic JavaParserFieldDeclaration(com.github.javaparser.ast.body.VariableDeclarator variableDeclarator,
TypeSolver typeSolver)
public JavaParserFieldDeclaration(com.github.javaparser.ast.body.EnumConstantDeclaration enumConstantDeclaration)
public TypeUsage getType()
getType in interface ValueDeclarationpublic String getName()
getName in interface Declarationpublic boolean isField()
isField in interface DeclarationisField in interface FieldDeclarationpublic com.github.javaparser.ast.body.FieldDeclaration getWrappedNode()
Copyright © 2016. All rights reserved.