public class JavaParserClassDeclaration extends AbstractClassDeclaration
Constructor and Description |
---|
JavaParserClassDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode,
TypeSolver typeSolver) |
asClass, getAllInterfaces, getAllSuperClasses, hasName
getAllMethods, isFunctionalInterface
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isClass
asReferenceType, findTypeParameter, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, getField, getVisibleField, getVisibleFields, hasAnnotation, hasField, hasVisibleField, isFunctionalInterface
asEnum, asInterface, asType, asTypeParameter, containerType, getId, internalTypes, isEnum, isType
asField, asMethod, asParameter, isField, isMethod, isParameter
public JavaParserClassDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode, TypeSolver typeSolver)
public List<FieldDeclaration> getAllFields()
public SymbolReference<MethodDeclaration> solveMethod(String name, List<Type> parameterTypes)
@Deprecated public Context getContext()
public Type getUsage(com.github.javaparser.ast.Node node)
public String getName()
public ReferenceType getSuperClass()
public List<ReferenceType> getInterfaces()
public List<ConstructorDeclaration> getConstructors()
public boolean hasDirectlyAnnotation(String canonicalName)
public boolean isInterface()
public String getQualifiedName()
public boolean isAssignableBy(ReferenceTypeDeclaration other)
public boolean isAssignableBy(Type type)
public boolean canBeAssignedTo(ReferenceTypeDeclaration other)
public boolean isTypeParameter()
@Deprecated public SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver)
public List<ReferenceType> getAncestors()
public Set<MethodDeclaration> getDeclaredMethods()
public List<TypeParameterDeclaration> getTypeParameters()
public com.github.javaparser.ast.body.ClassOrInterfaceDeclaration getWrappedNode()
public AccessLevel accessLevel()
protected ReferenceType object()
object
in class AbstractClassDeclaration
Copyright © 2016. All rights reserved.