- java.lang.Object
-
- com.thoughtworks.qdox.parser.structs.LocatedDef
-
- com.thoughtworks.qdox.parser.structs.ClassDef
-
public class ClassDef extends LocatedDef
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<TypeDef>
getExtends()
Set<TypeDef>
getImplements()
Set<String>
getModifiers()
String
getName()
String
getType()
List<TypeVariableDef>
getTypeParameters()
void
setExtends(Set<TypeDef> extendz)
void
setImplements(Set<TypeDef> implementz)
void
setModifiers(Set<String> modifiers)
void
setName(String name)
void
setType(String type)
void
setTypeParameters(List<TypeVariableDef> typeParams)
String
toString()
-
Methods inherited from class com.thoughtworks.qdox.parser.structs.LocatedDef
getColumnNumber, getLineNumber, setColumnNumber, setLineNumber
-
-
-
-
Field Detail
-
CLASS
public static final String CLASS
- See Also:
- Constant Field Values
-
INTERFACE
public static final String INTERFACE
- See Also:
- Constant Field Values
-
ENUM
public static final String ENUM
- See Also:
- Constant Field Values
-
ANNOTATION_TYPE
public static final String ANNOTATION_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClassDef
public ClassDef()
-
ClassDef
public ClassDef(String name)
-
-
Method Detail
-
setName
public void setName(String name)
- Parameters:
name
- the name to set
-
getName
public String getName()
- Returns:
- the name
-
setType
public void setType(String type)
-
getType
public String getType()
-
setTypeParameters
public void setTypeParameters(List<TypeVariableDef> typeParams)
-
getTypeParameters
public List<TypeVariableDef> getTypeParameters()
-
-