public final class ClassLike extends Definition
Modifier | Constructor and Description |
---|---|
protected |
ClassLike(java.lang.String _name,
Access _access,
Modifiers _modifiers,
Annotation[] _annotations,
DefinitionType _definitionType,
Lazy<Type> _selfType,
Lazy<Structure> _structure,
java.lang.String[] _savedAnnotations,
Type[] _childrenOfSealedClass,
boolean _topLevel,
TypeParameter[] _typeParameters) |
Modifier and Type | Method and Description |
---|---|
Type[] |
childrenOfSealedClass() |
static ClassLike |
create(java.lang.String _name,
Access _access,
Modifiers _modifiers,
Annotation[] _annotations,
DefinitionType _definitionType,
Lazy<Type> _selfType,
Lazy<Structure> _structure,
java.lang.String[] _savedAnnotations,
Type[] _childrenOfSealedClass,
boolean _topLevel,
TypeParameter[] _typeParameters) |
DefinitionType |
definitionType() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
static ClassLike |
of(java.lang.String _name,
Access _access,
Modifiers _modifiers,
Annotation[] _annotations,
DefinitionType _definitionType,
Lazy<Type> _selfType,
Lazy<Structure> _structure,
java.lang.String[] _savedAnnotations,
Type[] _childrenOfSealedClass,
boolean _topLevel,
TypeParameter[] _typeParameters) |
java.lang.String[] |
savedAnnotations() |
Type |
selfType() |
Structure |
structure() |
boolean |
topLevel() |
java.lang.String |
toString() |
TypeParameter[] |
typeParameters() |
ClassLike |
withAccess(Access access) |
ClassLike |
withAnnotations(Annotation[] annotations) |
ClassLike |
withChildrenOfSealedClass(Type[] childrenOfSealedClass) |
ClassLike |
withDefinitionType(DefinitionType definitionType) |
ClassLike |
withModifiers(Modifiers modifiers) |
ClassLike |
withName(java.lang.String name) |
ClassLike |
withSavedAnnotations(java.lang.String[] savedAnnotations) |
ClassLike |
withSelfType(Lazy<Type> selfType) |
ClassLike |
withStructure(Lazy<Structure> structure) |
ClassLike |
withTopLevel(boolean topLevel) |
ClassLike |
withTypeParameters(TypeParameter[] typeParameters) |
access, annotations, modifiers, name
protected ClassLike(java.lang.String _name, Access _access, Modifiers _modifiers, Annotation[] _annotations, DefinitionType _definitionType, Lazy<Type> _selfType, Lazy<Structure> _structure, java.lang.String[] _savedAnnotations, Type[] _childrenOfSealedClass, boolean _topLevel, TypeParameter[] _typeParameters)
public static ClassLike create(java.lang.String _name, Access _access, Modifiers _modifiers, Annotation[] _annotations, DefinitionType _definitionType, Lazy<Type> _selfType, Lazy<Structure> _structure, java.lang.String[] _savedAnnotations, Type[] _childrenOfSealedClass, boolean _topLevel, TypeParameter[] _typeParameters)
public static ClassLike of(java.lang.String _name, Access _access, Modifiers _modifiers, Annotation[] _annotations, DefinitionType _definitionType, Lazy<Type> _selfType, Lazy<Structure> _structure, java.lang.String[] _savedAnnotations, Type[] _childrenOfSealedClass, boolean _topLevel, TypeParameter[] _typeParameters)
public DefinitionType definitionType()
public Type selfType()
public Structure structure()
public java.lang.String[] savedAnnotations()
public Type[] childrenOfSealedClass()
public boolean topLevel()
public TypeParameter[] typeParameters()
public ClassLike withName(java.lang.String name)
public ClassLike withAnnotations(Annotation[] annotations)
public ClassLike withDefinitionType(DefinitionType definitionType)
public ClassLike withSavedAnnotations(java.lang.String[] savedAnnotations)
public ClassLike withTopLevel(boolean topLevel)
public ClassLike withTypeParameters(TypeParameter[] typeParameters)
public boolean equals(java.lang.Object obj)
equals
in class Definition
public int hashCode()
hashCode
in class Definition
public java.lang.String toString()
toString
in class Definition