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, waitpublic 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.MethodLikeDeclarationpublic com.github.javaparser.symbolsolver.model.typesystem.Type getReturnType()
getReturnType in interface com.github.javaparser.symbolsolver.model.declarations.MethodDeclarationpublic int getNumberOfParams()
getNumberOfParams in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclarationpublic com.github.javaparser.symbolsolver.model.declarations.ParameterDeclaration getParam(int i)
getParam in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclarationpublic 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.MethodDeclarationpublic boolean isDefaultMethod()
isDefaultMethod in interface com.github.javaparser.symbolsolver.model.declarations.MethodDeclarationpublic boolean isStatic()
isStatic in interface com.github.javaparser.symbolsolver.model.declarations.MethodDeclarationpublic java.lang.String getName()
getName in interface com.github.javaparser.symbolsolver.model.declarations.Declarationpublic java.util.List<com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface com.github.javaparser.symbolsolver.model.declarations.TypeParametrizablepublic com.github.javaparser.symbolsolver.model.declarations.AccessLevel accessLevel()
accessLevel in interface com.github.javaparser.symbolsolver.model.declarations.HasAccessLevel