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, wait
findTypeParameter, getLastParam, getQualifiedName, getQualifiedSignature, getSignature, hasVariadicParameter
asField, asMethod, asParameter, asType, hasName, isField, isMethod, isParameter, isType
public ValuesMethod(JavaParserEnumDeclaration enumDeclaration, TypeSolver typeSolver)
public TypeDeclaration declaringType()
declaringType
in interface MethodLikeDeclaration
public Type getReturnType()
getReturnType
in interface MethodDeclaration
public int getNumberOfParams()
getNumberOfParams
in interface MethodLikeDeclaration
public ParameterDeclaration getParam(int i)
getParam
in interface MethodLikeDeclaration
public MethodUsage getUsage(com.github.javaparser.ast.Node node)
public MethodUsage resolveTypeVariables(Context context, List<Type> parameterTypes)
public boolean isAbstract()
isAbstract
in interface MethodDeclaration
public boolean isDefaultMethod()
isDefaultMethod
in interface MethodDeclaration
public String getName()
getName
in interface Declaration
public List<TypeParameterDeclaration> getTypeParameters()
getTypeParameters
in interface TypeParametrizable
public AccessLevel accessLevel()
accessLevel
in interface HasAccessLevel
Copyright © 2016. All rights reserved.