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.Modifier.Keyword |
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, wait
public ReflectionFieldDeclaration(Field field, TypeSolver typeSolver)
public com.github.javaparser.resolution.types.ResolvedType getType()
getType
in interface com.github.javaparser.resolution.declarations.ResolvedValueDeclaration
public String getName()
getName
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
public boolean isStatic()
isStatic
in interface com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration
public boolean isField()
isField
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
isField
in interface com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration
public com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration declaringType()
declaringType
in interface com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration
public 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.ResolvedDeclaration
public boolean isType()
isType
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
public com.github.javaparser.ast.Modifier.Keyword accessSpecifier()
accessSpecifier
in interface com.github.javaparser.resolution.declarations.HasAccessSpecifier
Copyright © 2007–2019. All rights reserved.