public class JavaParserInterfaceDeclaration extends AbstractTypeDeclaration implements com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclaration
| Constructor and Description |
|---|
JavaParserInterfaceDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
com.github.javaparser.ast.AccessSpecifier |
accessSpecifier() |
com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclaration |
asInterface() |
boolean |
canBeAssignedTo(com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration other) |
Optional<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> |
containerType() |
boolean |
equals(Object o) |
List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> |
getAllFields() |
List<com.github.javaparser.resolution.types.ResolvedReferenceType> |
getAncestors() |
String |
getClassName() |
Context |
getContext() |
Set<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> |
getDeclaredMethods() |
List<com.github.javaparser.resolution.types.ResolvedReferenceType> |
getInterfacesExtended() |
String |
getName() |
String |
getPackageName() |
String |
getQualifiedName() |
List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> |
getTypeParameters() |
com.github.javaparser.resolution.types.ResolvedType |
getUsage(com.github.javaparser.ast.Node node) |
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserInterfaceDeclaration.
|
boolean |
hasDirectlyAnnotation(String canonicalName) |
int |
hashCode() |
Set<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> |
internalTypes() |
boolean |
isAssignableBy(com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration other) |
boolean |
isAssignableBy(com.github.javaparser.resolution.types.ResolvedType type) |
boolean |
isInterface() |
boolean |
isTypeParameter() |
SymbolReference<com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration> |
solveType(String name,
TypeSolver typeSolver)
Deprecated.
|
String |
toString() |
getAllMethods, isFunctionalInterfaceclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAllInterfacesExtendedasReferenceType, findTypeParameter, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, getField, getVisibleField, getVisibleFields, hasAnnotation, hasField, hasVisibleField, isFunctionalInterfaceasClass, asEnum, asType, asTypeParameter, getId, getInternalType, hasInternalType, isAnonymousClass, isClass, isEnum, isTypepublic JavaParserInterfaceDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration wrappedNode,
TypeSolver typeSolver)
public Set<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> getDeclaredMethods()
getDeclaredMethods in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic Context getContext()
public com.github.javaparser.resolution.types.ResolvedType getUsage(com.github.javaparser.ast.Node node)
public String getName()
getName in interface com.github.javaparser.resolution.declarations.ResolvedDeclarationpublic com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclaration asInterface()
asInterface in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic boolean hasDirectlyAnnotation(String canonicalName)
hasDirectlyAnnotation in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic boolean isInterface()
isInterface in interface com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclarationisInterface in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic List<com.github.javaparser.resolution.types.ResolvedReferenceType> getInterfacesExtended()
getInterfacesExtended in interface com.github.javaparser.resolution.declarations.ResolvedInterfaceDeclarationpublic String getPackageName()
getPackageName in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic String getClassName()
getClassName in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic String getQualifiedName()
getQualifiedName in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic boolean isAssignableBy(com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration other)
isAssignableBy in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic boolean isAssignableBy(com.github.javaparser.resolution.types.ResolvedType type)
isAssignableBy in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic boolean canBeAssignedTo(com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration other)
canBeAssignedTo in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic boolean isTypeParameter()
isTypeParameter in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> getAllFields()
getAllFields in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration@Deprecated public SymbolReference<com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration> solveType(String name, TypeSolver typeSolver)
public List<com.github.javaparser.resolution.types.ResolvedReferenceType> getAncestors()
getAncestors in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizablepublic com.github.javaparser.ast.body.ClassOrInterfaceDeclaration getWrappedNode()
public com.github.javaparser.ast.AccessSpecifier accessSpecifier()
accessSpecifier in interface com.github.javaparser.resolution.declarations.HasAccessSpecifierpublic Set<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> internalTypes()
internalTypes in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic Optional<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> containerType()
containerType in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationCopyright © 2007–2018. All rights reserved.