public class JavassistClassDeclaration extends AbstractClassDeclaration
| Constructor and Description |
|---|
JavassistClassDeclaration(javassist.CtClass ctClass,
TypeSolver typeSolver) |
asClass, getAllInterfaces, getAllSuperClasses, hasNamegetAllMethods, isFunctionalInterfaceclone, finalize, getClass, notify, notifyAll, wait, wait, waitasReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, getVisibleField, getVisibleFields, hasAnnotation, hasVisibleField, isFunctionalInterfaceasEnum, asInterface, asType, asTypeParameter, getId, internalTypes, isEnumasField, asMethod, asParameter, isMethodpublic JavassistClassDeclaration(javassist.CtClass ctClass,
TypeSolver typeSolver)
protected ReferenceType object()
object in class AbstractClassDeclarationpublic 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.