|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxtc.tree.Node
xtc.type.Type
xtc.type.DerivedT
xtc.type.ClassOrInterfaceT
xtc.type.InterfaceT
public class InterfaceT
An interface type.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class xtc.type.Type |
|---|
Type.Tag |
| Field Summary |
|---|
| Fields inherited from class xtc.type.ClassOrInterfaceT |
|---|
fields, interfaces, methods, qname |
| Constructor Summary | |
|---|---|
InterfaceT(java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new interface type. |
|
InterfaceT(Type template,
java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new interface type. |
|
| Method Summary | |
|---|---|
InterfaceT |
copy()
Create a deep copy of this type. |
boolean |
isInterface()
Determine whether this type is an interface. |
Type.Tag |
tag()
Get this type's tag. |
InterfaceT |
toInterface()
Get this type as an interface. |
void |
write(java.lang.Appendable out)
Write a human readable representation to the specified appendable. |
| Methods inherited from class xtc.type.ClassOrInterfaceT |
|---|
equals, getFields, getInterfaces, getMethods, getName, getQName, getQualifier, hashCode, seal |
| Methods inherited from class xtc.type.DerivedT |
|---|
isDerived |
| Methods inherited from class xtc.tree.Node |
|---|
add, add, addAll, addAll, addAll, addAll, addAllTo, addNode, contains, get, getBoolean, getBooleanProperty, getGeneric, getList, getNode, getProperty, getString, getStringProperty, getTokenText, hasName, hasProperty, hasTraversal, indexOf, isAnnotation, isEmpty, isGeneric, isList, isToken, iterator, lastIndexOf, remove, set, size, strip, toAnnotation, toList, toString, toToken |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InterfaceT(java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
qname - The fully qualified name.interfaces - The list of extended interfaces.fields - The list of fields.methods - The list of methods.
public InterfaceT(Type template,
java.lang.String qname,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
template - The type whose annotations to copy.qname - The fully qualified name.interfaces - The list of extended interfaces.fields - The list of fields.methods - The list of methods.| Method Detail |
|---|
public InterfaceT copy()
Type
copy in class Typepublic Type.Tag tag()
Type
tag in class TypeType.wtag()public boolean isInterface()
Type
isInterface in class Typetrue if this type is an interface.public InterfaceT toInterface()
Type
toInterface in class Type
public void write(java.lang.Appendable out)
throws java.io.IOException
NodeObject.toString().
write in class Nodeout - The appendable.
java.io.IOException - Signals an I/O error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||