public class JavassistInterfaceDeclaration
extends com.github.javaparser.symbolsolver.logic.AbstractTypeDeclaration
implements com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclaration
| Constructor and Description |
|---|
JavassistInterfaceDeclaration(javassist.CtClass ctClass,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
com.github.javaparser.ast.AccessSpecifier |
accessSpecifier() |
com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclaration |
asInterface() |
java.util.Optional<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> |
containerType() |
java.util.List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> |
getAllFields() |
java.util.List<com.github.javaparser.resolution.types.ResolvedReferenceType> |
getAncestors() |
java.lang.String |
getClassName() |
java.util.Set<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> |
getDeclaredMethods() |
java.util.List<com.github.javaparser.resolution.types.ResolvedReferenceType> |
getInterfacesExtended() |
com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration |
getInternalType(java.lang.String name) |
java.lang.String |
getName() |
java.lang.String |
getPackageName() |
java.lang.String |
getQualifiedName() |
java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> |
getTypeParameters() |
boolean |
hasDirectlyAnnotation(java.lang.String canonicalName) |
boolean |
hasInternalType(java.lang.String name) |
java.util.Set<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> |
internalTypes() |
boolean |
isAssignableBy(com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration other) |
boolean |
isAssignableBy(com.github.javaparser.resolution.types.ResolvedType type) |
com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> |
solveMethod(java.lang.String name,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
boolean staticOnly)
Deprecated.
|
java.util.Optional<com.github.javaparser.resolution.MethodUsage> |
solveMethodAsUsage(java.lang.String name,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver,
Context invokationContext,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> typeParameterValues)
Deprecated.
|
com.github.javaparser.symbolsolver.model.resolution.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> |
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, isFunctionalInterfaceasClass, asEnum, asType, asTypeParameter, getId, isAnonymousClass, isClass, isEnum, isType, isTypeParameterpublic 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.resolution.types.ResolvedReferenceType> getInterfacesExtended()
getInterfacesExtended in interface com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclarationpublic java.lang.String getPackageName()
getPackageName in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic java.lang.String getClassName()
getClassName in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic java.lang.String getQualifiedName()
getQualifiedName in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration@Deprecated
public java.util.Optional<com.github.javaparser.resolution.MethodUsage> solveMethodAsUsage(java.lang.String name,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver,
Context invokationContext,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> typeParameterValues)
@Deprecated
public com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(java.lang.String name,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
boolean staticOnly)
public boolean isAssignableBy(com.github.javaparser.resolution.types.ResolvedType type)
isAssignableBy in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic java.util.List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> getAllFields()
getAllFields in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic boolean isAssignableBy(com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration other)
isAssignableBy in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic java.util.List<com.github.javaparser.resolution.types.ResolvedReferenceType> getAncestors()
getAncestors in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic java.util.Set<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> getDeclaredMethods()
getDeclaredMethods in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic boolean hasDirectlyAnnotation(java.lang.String canonicalName)
hasDirectlyAnnotation in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic java.lang.String getName()
getName in interface com.github.javaparser.resolution.declarations.ResolvedDeclarationpublic java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizablepublic com.github.javaparser.ast.AccessSpecifier accessSpecifier()
accessSpecifier in interface com.github.javaparser.resolution.declarations.HasAccessSpecifierpublic com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclaration asInterface()
asInterface in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration@Deprecated
public com.github.javaparser.symbolsolver.model.resolution.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(java.lang.String name,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
public java.util.Optional<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> containerType()
containerType in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic java.util.Set<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> internalTypes()
internalTypes in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration getInternalType(java.lang.String name)
getInternalType in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic boolean hasInternalType(java.lang.String name)
hasInternalType in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration