Class JavassistInterfaceDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.logic.AbstractTypeDeclaration
com.github.javaparser.symbolsolver.javassistmodel.JavassistInterfaceDeclaration
- All Implemented Interfaces:
AssociableToAST<ClassOrInterfaceDeclaration>,HasAccessSpecifier,ResolvedDeclaration,ResolvedInterfaceDeclaration,ResolvedReferenceTypeDeclaration,ResolvedTypeDeclaration,ResolvedTypeParametrizable,MethodUsageResolutionCapability,MethodResolutionCapability
public class JavassistInterfaceDeclaration
extends AbstractTypeDeclaration
implements ResolvedInterfaceDeclaration, MethodResolutionCapability, MethodUsageResolutionCapability
- Author:
- Federico Tomassetti
-
Field Summary
Fields inherited from interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
breadthFirstFunc, depthFirstFunc, JAVA_LANG_ENUM, JAVA_LANG_OBJECT -
Constructor Summary
ConstructorsConstructorDescriptionJavassistInterfaceDeclaration(javassist.CtClass ctClass, TypeSolver typeSolver) -
Method Summary
Modifier and TypeMethodDescriptiongetAncestors(boolean acceptIncompleteList)getInternalType(String name)getName()booleanhasDirectlyAnnotation(String canonicalName)booleanhasInternalType(String name)booleanbooleanisAssignableBy(ResolvedType type)solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)Deprecated.solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes, Context invokationContext, List<ResolvedType> typeParameterValues)Deprecated.SymbolReference<? extends ResolvedValueDeclaration>solveSymbol(String name, TypeSolver typeSolver)Deprecated.toAst()toString()Methods inherited from class com.github.javaparser.symbolsolver.logic.AbstractTypeDeclaration
getAllMethods, isFunctionalInterfaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asPattern, hasName, isEnumConstant, isField, isMethod, isParameter, isPattern, isVariableMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclaration
getAllInterfacesExtended, isInterfaceMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
asReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getAncestors, getDeclaredFields, getField, getVisibleField, getVisibleFields, hasAnnotation, hasField, hasVisibleField, isFunctionalInterface, isJavaLangEnum, isJavaLangObjectMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
asAnnotation, asClass, asEnum, asType, asTypeParameter, getId, isAnnotation, isAnonymousClass, isClass, isEnum, isType, isTypeParameterMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
isGeneric
-
Constructor Details
-
JavassistInterfaceDeclaration
-
-
Method Details
-
toString
-
getInterfacesExtended
- Specified by:
getInterfacesExtendedin interfaceResolvedInterfaceDeclaration
-
getPackageName
- Specified by:
getPackageNamein interfaceResolvedTypeDeclaration
-
getClassName
- Specified by:
getClassNamein interfaceResolvedTypeDeclaration
-
getQualifiedName
- Specified by:
getQualifiedNamein interfaceResolvedTypeDeclaration
-
solveMethodAsUsage
@Deprecated public Optional<MethodUsage> solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes, Context invokationContext, List<ResolvedType> typeParameterValues)Deprecated.- Specified by:
solveMethodAsUsagein interfaceMethodUsageResolutionCapability
-
solveMethod
@Deprecated public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)Deprecated.- Specified by:
solveMethodin interfaceMethodResolutionCapability
-
isAssignableBy
- Specified by:
isAssignableByin interfaceResolvedReferenceTypeDeclaration
-
getAllFields
- Specified by:
getAllFieldsin interfaceResolvedReferenceTypeDeclaration
-
isAssignableBy
- Specified by:
isAssignableByin interfaceResolvedReferenceTypeDeclaration
-
getAncestors
- Specified by:
getAncestorsin interfaceResolvedReferenceTypeDeclaration
-
getDeclaredMethods
- Specified by:
getDeclaredMethodsin interfaceResolvedReferenceTypeDeclaration
-
hasDirectlyAnnotation
- Specified by:
hasDirectlyAnnotationin interfaceResolvedReferenceTypeDeclaration
-
getName
- Specified by:
getNamein interfaceResolvedDeclaration
-
getTypeParameters
- Specified by:
getTypeParametersin interfaceResolvedTypeParametrizable
-
accessSpecifier
- Specified by:
accessSpecifierin interfaceHasAccessSpecifier
-
asInterface
- Specified by:
asInterfacein interfaceResolvedTypeDeclaration
-
solveSymbol
@Deprecated public SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name, TypeSolver typeSolver)Deprecated. -
containerType
- Specified by:
containerTypein interfaceResolvedTypeDeclaration
-
internalTypes
- Specified by:
internalTypesin interfaceResolvedTypeDeclaration
-
getInternalType
- Specified by:
getInternalTypein interfaceResolvedTypeDeclaration
-
hasInternalType
- Specified by:
hasInternalTypein interfaceResolvedTypeDeclaration
-
getConstructors
- Specified by:
getConstructorsin interfaceResolvedReferenceTypeDeclaration
-
toAst
- Specified by:
toAstin interfaceAssociableToAST<ClassOrInterfaceDeclaration>
-