public class JavassistClassDeclaration
extends com.github.javaparser.symbolsolver.logic.AbstractClassDeclaration
Constructor and Description |
---|
JavassistClassDeclaration(javassist.CtClass ctClass,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
com.github.javaparser.symbolsolver.model.declarations.AccessLevel |
accessLevel() |
java.util.Optional<com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration> |
containerType() |
boolean |
equals(java.lang.Object o) |
java.util.List<com.github.javaparser.symbolsolver.model.declarations.FieldDeclaration> |
getAllFields() |
java.util.List<com.github.javaparser.symbolsolver.model.typesystem.ReferenceType> |
getAncestors() |
java.util.List<com.github.javaparser.symbolsolver.model.declarations.ConstructorDeclaration> |
getConstructors() |
java.util.Set<com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration> |
getDeclaredMethods() |
java.util.List<com.github.javaparser.symbolsolver.model.typesystem.ReferenceType> |
getInterfaces() |
java.lang.String |
getName() |
java.lang.String |
getQualifiedName() |
com.github.javaparser.symbolsolver.model.typesystem.ReferenceType |
getSuperClass() |
java.util.List<com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration> |
getTypeParameters() |
com.github.javaparser.symbolsolver.model.typesystem.Type |
getUsage(com.github.javaparser.ast.Node node) |
boolean |
hasDirectlyAnnotation(java.lang.String canonicalName) |
int |
hashCode() |
boolean |
isAssignableBy(com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration other) |
boolean |
isAssignableBy(com.github.javaparser.symbolsolver.model.typesystem.Type type) |
boolean |
isClass() |
boolean |
isField() |
boolean |
isInterface() |
boolean |
isParameter() |
boolean |
isType() |
boolean |
isTypeParameter() |
protected com.github.javaparser.symbolsolver.model.typesystem.ReferenceType |
object() |
com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration> |
solveMethod(java.lang.String name,
java.util.List<com.github.javaparser.symbolsolver.model.typesystem.Type> argumentsTypes,
boolean staticOnly)
Deprecated.
|
java.util.Optional<com.github.javaparser.symbolsolver.model.methods.MethodUsage> |
solveMethodAsUsage(java.lang.String name,
java.util.List<com.github.javaparser.symbolsolver.model.typesystem.Type> argumentsTypes,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver,
Context invokationContext,
java.util.List<com.github.javaparser.symbolsolver.model.typesystem.Type> typeParameterValues) |
com.github.javaparser.symbolsolver.model.resolution.SymbolReference<? extends com.github.javaparser.symbolsolver.model.declarations.ValueDeclaration> |
solveSymbol(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
Deprecated.
|
java.lang.String |
toString() |
asClass, getAllInterfaces, getAllSuperClasses, hasName
getAllMethods, isFunctionalInterface
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, getField, getVisibleField, getVisibleFields, hasAnnotation, hasField, hasVisibleField, isFunctionalInterface
public JavassistClassDeclaration(javassist.CtClass ctClass, com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
protected com.github.javaparser.symbolsolver.model.typesystem.ReferenceType object()
object
in class com.github.javaparser.symbolsolver.logic.AbstractClassDeclaration
public boolean hasDirectlyAnnotation(java.lang.String canonicalName)
public java.util.Set<com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration> getDeclaredMethods()
public boolean isAssignableBy(com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration other)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getQualifiedName()
public java.util.Optional<com.github.javaparser.symbolsolver.model.methods.MethodUsage> solveMethodAsUsage(java.lang.String name, java.util.List<com.github.javaparser.symbolsolver.model.typesystem.Type> argumentsTypes, com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver, Context invokationContext, java.util.List<com.github.javaparser.symbolsolver.model.typesystem.Type> typeParameterValues)
@Deprecated public com.github.javaparser.symbolsolver.model.resolution.SymbolReference<? extends com.github.javaparser.symbolsolver.model.declarations.ValueDeclaration> solveSymbol(java.lang.String name, com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
public java.util.List<com.github.javaparser.symbolsolver.model.typesystem.ReferenceType> getAncestors()
@Deprecated public com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration> solveMethod(java.lang.String name, java.util.List<com.github.javaparser.symbolsolver.model.typesystem.Type> argumentsTypes, boolean staticOnly)
public com.github.javaparser.symbolsolver.model.typesystem.Type getUsage(com.github.javaparser.ast.Node node)
public boolean isAssignableBy(com.github.javaparser.symbolsolver.model.typesystem.Type type)
public boolean isTypeParameter()
public java.util.List<com.github.javaparser.symbolsolver.model.declarations.FieldDeclaration> getAllFields()
public java.lang.String getName()
public boolean isField()
public boolean isParameter()
public boolean isType()
public boolean isClass()
public com.github.javaparser.symbolsolver.model.typesystem.ReferenceType getSuperClass()
public java.util.List<com.github.javaparser.symbolsolver.model.typesystem.ReferenceType> getInterfaces()
public boolean isInterface()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration> getTypeParameters()
public com.github.javaparser.symbolsolver.model.declarations.AccessLevel accessLevel()
public java.util.List<com.github.javaparser.symbolsolver.model.declarations.ConstructorDeclaration> getConstructors()
public java.util.Optional<com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration> containerType()