public class JavassistInterfaceDeclaration extends AbstractTypeDeclaration implements InterfaceDeclaration
Constructor and Description |
---|
JavassistInterfaceDeclaration(javassist.CtClass ctClass,
TypeSolver typeSolver) |
getAllMethods
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAllInterfacesExtended, isInterface
asClass, asEnum, asType, asTypeParameter, canBeAssignedTo, containerType, findTypeParameter, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, getId, hasAnnotation, internalTypes, isClass, isEnum, isType, isTypeParameter
asField, asMethod, asParameter, hasName, isField, isMethod, isParameter
public JavassistInterfaceDeclaration(javassist.CtClass ctClass, TypeSolver typeSolver)
public List<ReferenceType> getInterfacesExtended()
getInterfacesExtended
in interface InterfaceDeclaration
public String getQualifiedName()
getQualifiedName
in interface TypeDeclaration
public 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 AbstractTypeDeclaration
public boolean isAssignableBy(Type type)
isAssignableBy
in interface TypeDeclaration
public FieldDeclaration getField(String name)
getField
in interface TypeDeclaration
public boolean hasField(String name)
hasField
in interface TypeDeclaration
public List<FieldDeclaration> getAllFields()
getAllFields
in interface TypeDeclaration
public boolean isAssignableBy(TypeDeclaration other)
isAssignableBy
in interface TypeDeclaration
public List<ReferenceType> getAncestors()
getAncestors
in interface TypeDeclaration
public Set<MethodDeclaration> getDeclaredMethods()
getDeclaredMethods
in interface TypeDeclaration
public boolean hasDirectlyAnnotation(String canonicalName)
hasDirectlyAnnotation
in interface TypeDeclaration
public String getName()
getName
in interface Declaration
public List<TypeParameterDeclaration> getTypeParameters()
getTypeParameters
in interface TypeParametrizable
public AccessLevel accessLevel()
accessLevel
in interface HasAccessLevel
public InterfaceDeclaration asInterface()
asInterface
in interface TypeDeclaration
@Deprecated public SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver)
Copyright © 2016. All rights reserved.