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