public class ReflectionFieldDeclaration
extends java.lang.Object
implements com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration
| Constructor and Description |
|---|
ReflectionFieldDeclaration(java.lang.reflect.Field field,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
com.github.javaparser.ast.AccessSpecifier |
accessSpecifier() |
com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration |
declaringType() |
java.lang.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(java.lang.reflect.Field field,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
public com.github.javaparser.resolution.types.ResolvedType getType()
getType in interface com.github.javaparser.resolution.declarations.ResolvedValueDeclarationpublic java.lang.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.HasAccessSpecifier