public class ReflectionFieldDeclaration extends Object implements com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration
| Constructor and Description |
|---|
ReflectionFieldDeclaration(Field field,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
com.github.javaparser.ast.AccessSpecifier |
accessSpecifier() |
com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration |
declaringType() |
String |
getName() |
com.github.javaparser.resolution.types.ResolvedType |
getType() |
boolean |
isField() |
boolean |
isParameter() |
boolean |
isStatic() |
boolean |
isType() |
com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration |
replaceType(com.github.javaparser.resolution.types.ResolvedType fieldType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ReflectionFieldDeclaration(Field field, TypeSolver typeSolver)
public com.github.javaparser.resolution.types.ResolvedType getType()
getType in interface com.github.javaparser.resolution.declarations.ResolvedValueDeclarationpublic String getName()
getName in interface com.github.javaparser.resolution.declarations.ResolvedDeclarationpublic boolean isStatic()
isStatic in interface com.github.javaparser.resolution.declarations.ResolvedFieldDeclarationpublic boolean isField()
isField in interface com.github.javaparser.resolution.declarations.ResolvedDeclarationisField in interface com.github.javaparser.resolution.declarations.ResolvedFieldDeclarationpublic com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration declaringType()
declaringType in interface com.github.javaparser.resolution.declarations.ResolvedFieldDeclarationpublic com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration replaceType(com.github.javaparser.resolution.types.ResolvedType fieldType)
public boolean isParameter()
isParameter in interface com.github.javaparser.resolution.declarations.ResolvedDeclarationpublic boolean isType()
isType in interface com.github.javaparser.resolution.declarations.ResolvedDeclarationpublic com.github.javaparser.ast.AccessSpecifier accessSpecifier()
accessSpecifier in interface com.github.javaparser.resolution.declarations.HasAccessSpecifierCopyright © 2007–2019. All rights reserved.