public abstract class GeneratedMember extends GeneratedDeclaration
Modifier and Type | Field and Description |
---|---|
protected GeneratedClass |
enclosing |
protected String |
name |
Modifier | Constructor and Description |
---|---|
protected |
GeneratedMember(GeneratedClass enclosing,
int modifiers,
String name) |
Modifier and Type | Method and Description |
---|---|
GeneratedTypeVariable |
addTypeVariable(String name) |
GeneratedTypeVariable |
addTypeVariable(String name,
Collection<MetaType> bounds) |
GeneratedClass |
getEnclosingClass() |
String |
getName() |
List<GeneratedTypeVariable> |
getTypeVariables() |
getModifiers, setModifiers
addAnnotation, addAnnotation, addAnnotation, addComment, getAnnotations, getComments, getRawComments, hasMetadata
protected final GeneratedClass enclosing
protected final String name
protected GeneratedMember(GeneratedClass enclosing, int modifiers, String name)
public GeneratedClass getEnclosingClass()
public String getName()
public GeneratedTypeVariable addTypeVariable(String name)
public GeneratedTypeVariable addTypeVariable(String name, Collection<MetaType> bounds)
public List<GeneratedTypeVariable> getTypeVariables()
see also the complete user documentation .