public class JavaParserClassDeclaration extends AbstractClassDeclaration
| Constructor and Description |
|---|
JavaParserClassDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode,
TypeSolver typeSolver) |
asClass, getAllInterfaces, getAllSuperClasses, hasNamegetAllMethods, isFunctionalInterfaceclone, finalize, getClass, notify, notifyAll, wait, wait, waitisClassasReferenceType, findTypeParameter, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, getField, getVisibleField, getVisibleFields, hasAnnotation, hasField, hasVisibleField, isFunctionalInterfaceasEnum, asInterface, asType, asTypeParameter, containerType, getId, internalTypes, isEnum, isTypeasField, asMethod, asParameter, isField, isMethod, isParameterpublic 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 AbstractClassDeclarationCopyright © 2016. All rights reserved.