public final class TypeDeclaration extends TypeMember
Modifier | Constructor and Description |
---|---|
protected |
TypeDeclaration(java.lang.String _name,
Access _access,
Modifiers _modifiers,
Annotation[] _annotations,
TypeParameter[] _typeParameters,
Type _lowerBound,
Type _upperBound) |
Modifier and Type | Method and Description |
---|---|
static TypeDeclaration |
create(java.lang.String _name,
Access _access,
Modifiers _modifiers,
Annotation[] _annotations,
TypeParameter[] _typeParameters,
Type _lowerBound,
Type _upperBound) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
Type |
lowerBound() |
static TypeDeclaration |
of(java.lang.String _name,
Access _access,
Modifiers _modifiers,
Annotation[] _annotations,
TypeParameter[] _typeParameters,
Type _lowerBound,
Type _upperBound) |
java.lang.String |
toString() |
Type |
upperBound() |
TypeDeclaration |
withAccess(Access access) |
TypeDeclaration |
withAnnotations(Annotation[] annotations) |
TypeDeclaration |
withLowerBound(Type lowerBound) |
TypeDeclaration |
withModifiers(Modifiers modifiers) |
TypeDeclaration |
withName(java.lang.String name) |
TypeDeclaration |
withTypeParameters(TypeParameter[] typeParameters) |
TypeDeclaration |
withUpperBound(Type upperBound) |
typeParameters
access, annotations, modifiers, name
protected TypeDeclaration(java.lang.String _name, Access _access, Modifiers _modifiers, Annotation[] _annotations, TypeParameter[] _typeParameters, Type _lowerBound, Type _upperBound)
public static TypeDeclaration create(java.lang.String _name, Access _access, Modifiers _modifiers, Annotation[] _annotations, TypeParameter[] _typeParameters, Type _lowerBound, Type _upperBound)
public static TypeDeclaration of(java.lang.String _name, Access _access, Modifiers _modifiers, Annotation[] _annotations, TypeParameter[] _typeParameters, Type _lowerBound, Type _upperBound)
public Type lowerBound()
public Type upperBound()
public TypeDeclaration withName(java.lang.String name)
public TypeDeclaration withAccess(Access access)
public TypeDeclaration withModifiers(Modifiers modifiers)
public TypeDeclaration withAnnotations(Annotation[] annotations)
public TypeDeclaration withTypeParameters(TypeParameter[] typeParameters)
public TypeDeclaration withLowerBound(Type lowerBound)
public TypeDeclaration withUpperBound(Type upperBound)
public boolean equals(java.lang.Object obj)
equals
in class TypeMember
public int hashCode()
hashCode
in class TypeMember
public java.lang.String toString()
toString
in class TypeMember