public class JavassistInterfaceDeclaration extends AbstractTypeDeclaration implements InterfaceDeclaration
| Constructor and Description |
|---|
JavassistInterfaceDeclaration(javassist.CtClass ctClass,
TypeSolver typeSolver) |
getAllMethodsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAllInterfacesExtended, isInterfaceasClass, asInterface, asType, canBeAssignedTo, getAllMethods, isClass, isEnum, isType, isTypeVariableasField, asMethod, asParameter, hasName, isField, isMethod, isParameter, isVariablepublic JavassistInterfaceDeclaration(javassist.CtClass ctClass,
TypeSolver typeSolver)
public List<InterfaceDeclaration> getInterfacesExtended()
getInterfacesExtended in interface InterfaceDeclarationpublic String getQualifiedName()
getQualifiedName in interface TypeDeclarationpublic Context getContext()
getContext in interface TypeDeclarationpublic Optional<MethodUsage> solveMethodAsUsage(String name, List<TypeUsage> parameterTypes, TypeSolver typeSolver, Context invokationContext, List<TypeUsage> typeParameterValues)
solveMethodAsUsage in interface TypeDeclarationpublic SymbolReference<MethodDeclaration> solveMethod(String name, List<TypeUsage> parameterTypes)
solveMethod in interface TypeDeclarationprotected TypeSolver typeSolver()
typeSolver in class AbstractTypeDeclarationpublic boolean isAssignableBy(TypeUsage typeUsage)
isAssignableBy in interface TypeDeclarationpublic FieldDeclaration getField(String name)
getField in interface TypeDeclarationpublic boolean hasField(String name)
hasField in interface TypeDeclarationpublic List<FieldDeclaration> getAllFields()
getAllFields in interface TypeDeclarationpublic boolean isAssignableBy(TypeDeclaration other)
isAssignableBy in interface TypeDeclarationpublic SymbolReference<? extends ValueDeclaration> solveSymbol(String substring, TypeSolver typeSolver)
solveSymbol in interface TypeDeclarationpublic SymbolReference<TypeDeclaration> solveType(String substring, TypeSolver typeSolver)
solveType in interface TypeDeclarationpublic List<ReferenceTypeUsage> getAllAncestors()
getAllAncestors in interface TypeDeclarationpublic Set<MethodDeclaration> getDeclaredMethods()
getDeclaredMethods in interface TypeDeclarationpublic String getName()
getName in interface Declarationpublic List<TypeParameter> getTypeParameters()
getTypeParameters in interface TypeParametrizedCopyright © 2016. All rights reserved.