public class ClassT extends ClassOrInterfaceT
fields, interfaces, methods, qname| Constructor and Description |
|---|
ClassT(java.lang.String qname,
Type parent,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class type.
|
ClassT(Type template,
java.lang.String qname,
Type parent,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
Create a new class type.
|
| Modifier and Type | Method and Description |
|---|---|
ClassT |
copy()
Create a deep copy of this type.
|
Type |
getParent()
Get the parent class.
|
boolean |
isClass()
Determine whether this type is a class.
|
Type.Tag |
tag()
Get this type's tag.
|
ClassT |
toClass()
Get this type as a class.
|
void |
write(java.lang.Appendable out)
Write a human readable representation to the specified
appendable.
|
equals, getFields, getInterfaces, getMethods, getName, getQName, getQualifier, hashCode, sealaddAttribute, annotate, attribute, attribute, attribute, attributes, cast, checkNotSealed, constant, constant, copy, deannotate, getAttribute, getAttribute, getConstant, getConstant, getLanguage, getLanguage, getLocation, getLocation, getScope, getScope, getShape, getShape, hasAlias, hasAnnotated, hasAttribute, hasAttribute, hasAttribute, hasAttribute, hasAttributes, hasConstant, hasConstant, hasEnum, hasEnumerator, hasError, hasInstantiated, hasLanguage, hasLanguage, hasLocation, hasLocation, hasParameterized, hasScope, hasScope, hasShape, hasShape, hasStructOrUnion, hasTag, hasTagged, hasVariable, hasWTag, isAlias, isAnnotated, isArray, isBoolean, isConcrete, isEnum, isEnumerator, isError, isFloat, isFunction, isInstantiated, isInteger, isInterface, isInternal, isInternalParameter, isLabel, isMethod, isNamedParameter, isNumber, isPackage, isParameter, isParameterized, isPointer, isSealed, isStruct, isTuple, isUnion, isUnit, isVariable, isVariant, isVoid, isWildcard, isWrapped, language, locate, locate, mark, properties, removeAttribute, removeProperty, resolve, resolve, scope, seal, setLocation, setLocation, setProperty, shape, shape, toAlias, toAnnotated, toArray, toBoolean, toEnum, toEnumerator, toFloat, toFunction, toInstantiated, toInteger, toInterface, toInternal, toInternalParameter, toLabel, toMethod, toNamedParameter, toNumber, toPackage, toParameter, toParameterized, toPointer, toStruct, toStructOrUnion, toTagged, toTuple, toUnion, toUnit, toVariable, toVariant, toVoid, toWildcard, toWrapped, trace, wtagadd, 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, toTokenpublic ClassT(java.lang.String qname,
Type parent,
java.util.List<Type> interfaces,
java.util.List<Type> fields,
java.util.List<Type> methods)
qname - The fully qualified name.parent - The optional parent class.interfaces - The list of interfaces.fields - The list of fields.methods - The list of methods.public ClassT(Type template, java.lang.String qname, Type parent, 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.parent - The optional parent class.interfaces - The list of interfaces.fields - The list of fields.methods - The list of methods.public ClassT copy()
Typepublic Type.Tag tag()
Typetag in class TypeType.wtag()public boolean isClass()
Typepublic Type getParent()
public void write(java.lang.Appendable out)
throws java.io.IOException
NodeObject.toString().Copyright © 2014. All Rights Reserved.