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, asEnum, asType, asTypeParameter, canBeAssignedTo, containerType, findTypeParameter, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, getId, hasAnnotation, internalTypes, isClass, isEnum, isType, isTypeParameterasField, asMethod, asParameter, hasName, isField, isMethod, isParameterpublic JavassistInterfaceDeclaration(javassist.CtClass ctClass,
TypeSolver typeSolver)
public List<ReferenceType> getInterfacesExtended()
getInterfacesExtended in interface InterfaceDeclarationpublic String getQualifiedName()
getQualifiedName in interface TypeDeclarationpublic Context getContext()
@Deprecated public Optional<MethodUsage> solveMethodAsUsage(String name, List<Type> argumentsTypes, TypeSolver typeSolver, Context invokationContext, List<Type> typeParameterValues)
@Deprecated public SymbolReference<MethodDeclaration> solveMethod(String name, List<Type> argumentsTypes)
protected TypeSolver typeSolver()
typeSolver in class AbstractTypeDeclarationpublic boolean isAssignableBy(Type type)
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 List<ReferenceType> getAncestors()
getAncestors in interface TypeDeclarationpublic Set<MethodDeclaration> getDeclaredMethods()
getDeclaredMethods in interface TypeDeclarationpublic boolean hasDirectlyAnnotation(String canonicalName)
hasDirectlyAnnotation in interface TypeDeclarationpublic String getName()
getName in interface Declarationpublic List<TypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface TypeParametrizablepublic AccessLevel accessLevel()
accessLevel in interface HasAccessLevelpublic InterfaceDeclaration asInterface()
asInterface in interface TypeDeclaration@Deprecated public SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver)
Copyright © 2016. All rights reserved.