Class ReflectionFieldDeclaration
- java.lang.Object
-
- com.github.javaparser.symbolsolver.reflectionmodel.ReflectionFieldDeclaration
-
- All Implemented Interfaces:
com.github.javaparser.resolution.declarations.HasAccessSpecifier
,com.github.javaparser.resolution.declarations.ResolvedDeclaration
,com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration
,com.github.javaparser.resolution.declarations.ResolvedValueDeclaration
public class ReflectionFieldDeclaration extends Object implements com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration
- Author:
- Federico Tomassetti
-
-
Constructor Summary
Constructors Constructor Description ReflectionFieldDeclaration(Field field, com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
ReflectionFieldDeclaration
public ReflectionFieldDeclaration(Field field, com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
-
-
Method Detail
-
getType
public com.github.javaparser.resolution.types.ResolvedType getType()
- Specified by:
getType
in interfacecom.github.javaparser.resolution.declarations.ResolvedValueDeclaration
-
getName
public String getName()
- Specified by:
getName
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interfacecom.github.javaparser.resolution.declarations.ResolvedFieldDeclaration
-
isField
public boolean isField()
- Specified by:
isField
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
- Specified by:
isField
in interfacecom.github.javaparser.resolution.declarations.ResolvedFieldDeclaration
-
declaringType
public com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration declaringType()
- Specified by:
declaringType
in interfacecom.github.javaparser.resolution.declarations.ResolvedFieldDeclaration
-
replaceType
public com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration replaceType(com.github.javaparser.resolution.types.ResolvedType fieldType)
-
isParameter
public boolean isParameter()
- Specified by:
isParameter
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
isType
public boolean isType()
- Specified by:
isType
in interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
accessSpecifier
public com.github.javaparser.ast.Modifier.Keyword accessSpecifier()
- Specified by:
accessSpecifier
in interfacecom.github.javaparser.resolution.declarations.HasAccessSpecifier
-
-