public final class InterfaceType extends NamedClassType
Constructor and Description |
---|
InterfaceType(String moduleName,
String name)
Constructs a new public interface type.
|
InterfaceType(String moduleName,
String name,
boolean isPrivate,
Collection<InterfaceType> interfaces)
Constructs a new interface type.
|
InterfaceType(String moduleName,
String name,
boolean isPrivate,
Collection<InterfaceType> interfaces,
Map<String,String> metadata)
Constructs a new interface type.
|
Modifier and Type | Method and Description |
---|---|
<T,E extends Throwable> |
accept(TypeVisitor<T,E> visitor)
Accepts type visitor.
|
boolean |
isAbstract()
Returns
true if the type is abstract. |
equals, getData, getFullName, getLocalMethods, getMetadata, getMetadata, getModuleName, getName, getNamespaceModel, hashCode, hasIntersectionType, hasMetadata, isCompiled, isPrivate, setData, setMethods, toString
assignableTo, findCommonSubtype, findCommonSupertype, getAllInterfaces, getInterfaces, getJavaClass, getLocalStaticMethods, getMethodBySignature, getMethods, getMethodsForName, getMethodsForName, getOverriddenMethodsBySignature, getRecordSupertype, getStaticMethods, getStaticMethodsForName, getSupertype
getFreeTypes, hasFreeTypes, isCollection, matchesSubtype, matchesSupertype, performConversion, substituteFreeTypes
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
assignableTo, findCommonSubtype, findCommonSupertype, getFreeTypes, getJavaClass, getSupertype, hasFreeTypes, isCollection, matchesSubtype, matchesSupertype, performConversion, substituteFreeTypes
public InterfaceType(String moduleName, String name, boolean isPrivate, Collection<InterfaceType> interfaces, Map<String,String> metadata)
moduleName
- name
- isPrivate
- true
if the type is privateinterfaces
- metadata
- public InterfaceType(String moduleName, String name, boolean isPrivate, Collection<InterfaceType> interfaces)
moduleName
- name
- isPrivate
- true
if the type is privateinterfaces
- public <T,E extends Throwable> T accept(TypeVisitor<T,E> visitor) throws E extends Throwable
Type
T
- visitor return typevisitor
- visitor to visitE
E extends Throwable
public boolean isAbstract()
ClassType
true
if the type is abstract.isAbstract
in class ClassType
true
if the type is abstractCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.