public final class ClassLikeDef extends ParameterizedDefinition
Modifier | Constructor and Description |
---|---|
protected |
ClassLikeDef(java.lang.String _name,
Access _access,
Modifiers _modifiers,
Annotation[] _annotations,
TypeParameter[] _typeParameters,
DefinitionType _definitionType) |
Modifier and Type | Method and Description |
---|---|
static ClassLikeDef |
create(java.lang.String _name,
Access _access,
Modifiers _modifiers,
Annotation[] _annotations,
TypeParameter[] _typeParameters,
DefinitionType _definitionType) |
DefinitionType |
definitionType() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
static ClassLikeDef |
of(java.lang.String _name,
Access _access,
Modifiers _modifiers,
Annotation[] _annotations,
TypeParameter[] _typeParameters,
DefinitionType _definitionType) |
java.lang.String |
toString() |
ClassLikeDef |
withAccess(Access access) |
ClassLikeDef |
withAnnotations(Annotation[] annotations) |
ClassLikeDef |
withDefinitionType(DefinitionType definitionType) |
ClassLikeDef |
withModifiers(Modifiers modifiers) |
ClassLikeDef |
withName(java.lang.String name) |
ClassLikeDef |
withTypeParameters(TypeParameter[] typeParameters) |
typeParameters
access, annotations, modifiers, name
protected ClassLikeDef(java.lang.String _name, Access _access, Modifiers _modifiers, Annotation[] _annotations, TypeParameter[] _typeParameters, DefinitionType _definitionType)
public static ClassLikeDef create(java.lang.String _name, Access _access, Modifiers _modifiers, Annotation[] _annotations, TypeParameter[] _typeParameters, DefinitionType _definitionType)
public static ClassLikeDef of(java.lang.String _name, Access _access, Modifiers _modifiers, Annotation[] _annotations, TypeParameter[] _typeParameters, DefinitionType _definitionType)
public DefinitionType definitionType()
public ClassLikeDef withName(java.lang.String name)
public ClassLikeDef withAccess(Access access)
public ClassLikeDef withModifiers(Modifiers modifiers)
public ClassLikeDef withAnnotations(Annotation[] annotations)
public ClassLikeDef withTypeParameters(TypeParameter[] typeParameters)
public ClassLikeDef withDefinitionType(DefinitionType definitionType)
public boolean equals(java.lang.Object obj)
equals
in class ParameterizedDefinition
public int hashCode()
hashCode
in class ParameterizedDefinition
public java.lang.String toString()
toString
in class ParameterizedDefinition