public static class JavaParserEnumDeclaration.ValuesMethod extends Object implements MethodDeclaration
| Constructor and Description |
|---|
ValuesMethod(JavaParserEnumDeclaration enumDeclaration,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
AccessLevel |
accessLevel() |
TypeDeclaration |
declaringType() |
String |
getName() |
int |
getNumberOfParams() |
ParameterDeclaration |
getParam(int i) |
Type |
getReturnType() |
List<TypeParameterDeclaration> |
getTypeParameters() |
MethodUsage |
getUsage(com.github.javaparser.ast.Node node) |
boolean |
isAbstract() |
boolean |
isDefaultMethod() |
MethodUsage |
resolveTypeVariables(Context context,
List<Type> parameterTypes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindTypeParameter, getLastParam, getQualifiedName, getQualifiedSignature, getSignature, hasVariadicParameterasField, asMethod, asParameter, asType, hasName, isField, isMethod, isParameter, isTypepublic ValuesMethod(JavaParserEnumDeclaration enumDeclaration, TypeSolver typeSolver)
public TypeDeclaration declaringType()
declaringType in interface MethodLikeDeclarationpublic Type getReturnType()
getReturnType in interface MethodDeclarationpublic int getNumberOfParams()
getNumberOfParams in interface MethodLikeDeclarationpublic ParameterDeclaration getParam(int i)
getParam in interface MethodLikeDeclarationpublic MethodUsage getUsage(com.github.javaparser.ast.Node node)
public MethodUsage resolveTypeVariables(Context context, List<Type> parameterTypes)
public boolean isAbstract()
isAbstract in interface MethodDeclarationpublic boolean isDefaultMethod()
isDefaultMethod in interface MethodDeclarationpublic String getName()
getName in interface Declarationpublic List<TypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface TypeParametrizablepublic AccessLevel accessLevel()
accessLevel in interface HasAccessLevelCopyright © 2016. All rights reserved.