public class JavaParserInterfaceDeclaration extends AbstractTypeDeclaration implements InterfaceDeclaration
| Constructor and Description |
|---|
JavaParserInterfaceDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode,
TypeSolver typeSolver) |
getAllMethodsclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAllInterfacesExtendedasClass, asEnum, asType, asTypeParameter, containerType, findTypeParameter, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, getId, hasAnnotation, internalTypes, isClass, isEnum, isTypeasField, asMethod, asParameter, hasName, isField, isMethod, isParameterpublic JavaParserInterfaceDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode,
TypeSolver typeSolver)
public Set<MethodDeclaration> getDeclaredMethods()
getDeclaredMethods in interface TypeDeclarationpublic Context getContext()
public Type getUsage(com.github.javaparser.ast.Node node)
public String getName()
getName in interface Declarationpublic InterfaceDeclaration asInterface()
asInterface in interface TypeDeclarationpublic boolean hasDirectlyAnnotation(String canonicalName)
hasDirectlyAnnotation in interface TypeDeclarationpublic boolean isInterface()
isInterface in interface InterfaceDeclarationisInterface in interface TypeDeclarationpublic List<ReferenceType> getInterfacesExtended()
getInterfacesExtended in interface InterfaceDeclarationpublic String getQualifiedName()
getQualifiedName in interface TypeDeclarationpublic boolean isAssignableBy(TypeDeclaration other)
isAssignableBy in interface TypeDeclarationpublic boolean isAssignableBy(Type type)
isAssignableBy in interface TypeDeclarationpublic boolean canBeAssignedTo(TypeDeclaration other)
canBeAssignedTo in interface TypeDeclarationpublic boolean isTypeParameter()
isTypeParameter in interface TypeDeclarationpublic FieldDeclaration getField(String name)
getField in interface TypeDeclarationpublic List<FieldDeclaration> getAllFields()
getAllFields in interface TypeDeclarationpublic boolean hasField(String name)
hasField in interface TypeDeclaration@Deprecated public SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver)
public List<ReferenceType> getAncestors()
getAncestors in interface TypeDeclarationpublic List<TypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface TypeParametrizableprotected TypeSolver typeSolver()
typeSolver in class AbstractTypeDeclarationpublic com.github.javaparser.ast.body.ClassOrInterfaceDeclaration getWrappedNode()
public AccessLevel accessLevel()
accessLevel in interface HasAccessLevelCopyright © 2016. All rights reserved.