public class JavassistInterfaceDeclaration
extends com.github.javaparser.symbolsolver.logic.AbstractTypeDeclaration
implements com.github.javaparser.symbolsolver.model.declarations.InterfaceDeclaration
| Constructor and Description |
|---|
JavassistInterfaceDeclaration(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() |
com.github.javaparser.symbolsolver.model.declarations.InterfaceDeclaration |
asInterface() |
java.util.Optional<com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration> |
containerType() |
java.util.List<com.github.javaparser.symbolsolver.model.declarations.FieldDeclaration> |
getAllFields() |
java.util.List<com.github.javaparser.symbolsolver.model.typesystem.ReferenceType> |
getAncestors() |
java.util.Set<com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration> |
getDeclaredMethods() |
java.util.List<com.github.javaparser.symbolsolver.model.typesystem.ReferenceType> |
getInterfacesExtended() |
java.lang.String |
getName() |
java.lang.String |
getQualifiedName() |
java.util.List<com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration> |
getTypeParameters() |
boolean |
hasDirectlyAnnotation(java.lang.String canonicalName) |
boolean |
isAssignableBy(com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration other) |
boolean |
isAssignableBy(com.github.javaparser.symbolsolver.model.typesystem.Type type) |
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)
Deprecated.
|
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() |
getAllMethods, isFunctionalInterfaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAllInterfacesExtended, isInterfaceasReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, getField, getVisibleField, getVisibleFields, hasAnnotation, hasField, hasVisibleField, isFunctionalInterfacepublic JavassistInterfaceDeclaration(javassist.CtClass ctClass,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<com.github.javaparser.symbolsolver.model.typesystem.ReferenceType> getInterfacesExtended()
getInterfacesExtended in interface com.github.javaparser.symbolsolver.model.declarations.InterfaceDeclarationpublic java.lang.String getQualifiedName()
getQualifiedName in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration@Deprecated
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<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 boolean isAssignableBy(com.github.javaparser.symbolsolver.model.typesystem.Type type)
isAssignableBy in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclarationpublic java.util.List<com.github.javaparser.symbolsolver.model.declarations.FieldDeclaration> getAllFields()
getAllFields in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclarationpublic boolean isAssignableBy(com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration other)
isAssignableBy in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclarationpublic java.util.List<com.github.javaparser.symbolsolver.model.typesystem.ReferenceType> getAncestors()
getAncestors in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclarationpublic java.util.Set<com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration> getDeclaredMethods()
getDeclaredMethods in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclarationpublic boolean hasDirectlyAnnotation(java.lang.String canonicalName)
hasDirectlyAnnotation in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclarationpublic java.lang.String getName()
getName in interface com.github.javaparser.symbolsolver.model.declarations.Declarationpublic java.util.List<com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface com.github.javaparser.symbolsolver.model.declarations.TypeParametrizablepublic com.github.javaparser.symbolsolver.model.declarations.AccessLevel accessLevel()
accessLevel in interface com.github.javaparser.symbolsolver.model.declarations.HasAccessLevelpublic com.github.javaparser.symbolsolver.model.declarations.InterfaceDeclaration asInterface()
asInterface in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration@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.Optional<com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration> containerType()
containerType in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration