public static class JavaParserEnumDeclaration.ValuesMethod
extends java.lang.Object
implements com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration
Constructor and Description |
---|
ValuesMethod(JavaParserEnumDeclaration enumDeclaration,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
com.github.javaparser.symbolsolver.model.declarations.AccessLevel |
accessLevel() |
com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration |
declaringType() |
java.lang.String |
getName() |
int |
getNumberOfParams() |
com.github.javaparser.symbolsolver.model.declarations.ParameterDeclaration |
getParam(int i) |
com.github.javaparser.symbolsolver.model.typesystem.Type |
getReturnType() |
java.util.List<com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration> |
getTypeParameters() |
com.github.javaparser.symbolsolver.model.methods.MethodUsage |
getUsage(com.github.javaparser.ast.Node node) |
boolean |
isAbstract() |
boolean |
isDefaultMethod() |
boolean |
isStatic() |
com.github.javaparser.symbolsolver.model.methods.MethodUsage |
resolveTypeVariables(Context context,
java.util.List<com.github.javaparser.symbolsolver.model.typesystem.Type> parameterTypes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ValuesMethod(JavaParserEnumDeclaration enumDeclaration, com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
public com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration declaringType()
declaringType
in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclaration
public com.github.javaparser.symbolsolver.model.typesystem.Type getReturnType()
getReturnType
in interface com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration
public int getNumberOfParams()
getNumberOfParams
in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclaration
public com.github.javaparser.symbolsolver.model.declarations.ParameterDeclaration getParam(int i)
getParam
in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclaration
public com.github.javaparser.symbolsolver.model.methods.MethodUsage getUsage(com.github.javaparser.ast.Node node)
public com.github.javaparser.symbolsolver.model.methods.MethodUsage resolveTypeVariables(Context context, java.util.List<com.github.javaparser.symbolsolver.model.typesystem.Type> parameterTypes)
public boolean isAbstract()
isAbstract
in interface com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration
public boolean isDefaultMethod()
isDefaultMethod
in interface com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration
public boolean isStatic()
isStatic
in interface com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration
public java.lang.String getName()
getName
in interface com.github.javaparser.symbolsolver.model.declarations.Declaration
public java.util.List<com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration> getTypeParameters()
getTypeParameters
in interface com.github.javaparser.symbolsolver.model.declarations.TypeParametrizable
public com.github.javaparser.symbolsolver.model.declarations.AccessLevel accessLevel()
accessLevel
in interface com.github.javaparser.symbolsolver.model.declarations.HasAccessLevel