public class JavassistInterfaceDeclaration extends AbstractTypeDeclaration implements com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclaration
Constructor and Description |
---|
JavassistInterfaceDeclaration(javassist.CtClass ctClass,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
com.github.javaparser.ast.AccessSpecifier |
accessSpecifier() |
com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclaration |
asInterface() |
Optional<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> |
containerType() |
List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> |
getAllFields() |
List<com.github.javaparser.resolution.types.ResolvedReferenceType> |
getAncestors() |
String |
getClassName() |
Set<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> |
getDeclaredMethods() |
List<com.github.javaparser.resolution.types.ResolvedReferenceType> |
getInterfacesExtended() |
com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration |
getInternalType(String name) |
String |
getName() |
String |
getPackageName() |
String |
getQualifiedName() |
List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> |
getTypeParameters() |
boolean |
hasDirectlyAnnotation(String canonicalName) |
boolean |
hasInternalType(String name) |
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) |
SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> |
solveMethod(String name,
List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
boolean staticOnly)
Deprecated.
|
Optional<com.github.javaparser.resolution.MethodUsage> |
solveMethodAsUsage(String name,
List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
TypeSolver typeSolver,
Context invokationContext,
List<com.github.javaparser.resolution.types.ResolvedType> typeParameterValues)
Deprecated.
|
SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> |
solveSymbol(String name,
TypeSolver typeSolver)
Deprecated.
|
String |
toString() |
getAllMethods, isFunctionalInterface
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAllInterfacesExtended, isInterface
asReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, getField, getVisibleField, getVisibleFields, hasAnnotation, hasField, hasVisibleField, isFunctionalInterface
asClass, asEnum, asType, asTypeParameter, getId, isAnonymousClass, isClass, isEnum, isType, isTypeParameter
public JavassistInterfaceDeclaration(javassist.CtClass ctClass, TypeSolver typeSolver)
public List<com.github.javaparser.resolution.types.ResolvedReferenceType> getInterfacesExtended()
getInterfacesExtended
in interface com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclaration
public String getPackageName()
getPackageName
in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
public String getClassName()
getClassName
in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
public String getQualifiedName()
getQualifiedName
in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
@Deprecated public Optional<com.github.javaparser.resolution.MethodUsage> solveMethodAsUsage(String name, List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, TypeSolver typeSolver, Context invokationContext, List<com.github.javaparser.resolution.types.ResolvedType> typeParameterValues)
@Deprecated public SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(String name, 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.ResolvedReferenceTypeDeclaration
public List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> getAllFields()
getAllFields
in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
public boolean isAssignableBy(com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration other)
isAssignableBy
in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
public List<com.github.javaparser.resolution.types.ResolvedReferenceType> getAncestors()
getAncestors
in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
public Set<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> getDeclaredMethods()
getDeclaredMethods
in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
public boolean hasDirectlyAnnotation(String canonicalName)
hasDirectlyAnnotation
in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
public String getName()
getName
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
public List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> getTypeParameters()
getTypeParameters
in interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
public com.github.javaparser.ast.AccessSpecifier accessSpecifier()
accessSpecifier
in interface com.github.javaparser.resolution.declarations.HasAccessSpecifier
public com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclaration asInterface()
asInterface
in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
@Deprecated public SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name, TypeSolver typeSolver)
public Optional<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> containerType()
containerType
in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
public Set<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> internalTypes()
internalTypes
in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
public com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration getInternalType(String name)
getInternalType
in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
public boolean hasInternalType(String name)
hasInternalType
in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
Copyright © 2007–2018. All rights reserved.