public class SourceTypeStructure extends java.lang.Object implements ClassStructure
| Modifier and Type | Field and Description |
|---|---|
private com.thoughtworks.qdox.model.JavaMethod |
mth |
private java.lang.String |
paramName |
private static java.util.Set |
primitives |
private com.thoughtworks.qdox.model.Type |
type |
| Constructor and Description |
|---|
SourceTypeStructure(com.thoughtworks.qdox.model.Type type,
com.thoughtworks.qdox.model.JavaMethod mth,
java.lang.String paramName) |
| Modifier and Type | Method and Description |
|---|---|
int |
getArrayDimensions() |
MethodStructure[] |
getConstructors() |
java.lang.String |
getExpectationName(java.lang.String name) |
MethodStructure[] |
getMethods() |
java.lang.String |
getName() |
boolean |
isArray() |
boolean |
isInterface() |
boolean |
isPrimitive() |
private com.thoughtworks.qdox.model.Type type
private com.thoughtworks.qdox.model.JavaMethod mth
private java.lang.String paramName
private static java.util.Set primitives
SourceTypeStructure(com.thoughtworks.qdox.model.Type type,
com.thoughtworks.qdox.model.JavaMethod mth,
java.lang.String paramName)
public java.lang.String getName()
getName in interface ClassStructurepublic boolean isArray()
isArray in interface ClassStructurepublic int getArrayDimensions()
getArrayDimensions in interface ClassStructurepublic boolean isPrimitive()
isPrimitive in interface ClassStructurepublic java.lang.String getExpectationName(java.lang.String name)
getExpectationName in interface ClassStructurepublic boolean isInterface()
isInterface in interface ClassStructurepublic MethodStructure[] getMethods()
getMethods in interface ClassStructurepublic MethodStructure[] getConstructors()
getConstructors in interface ClassStructure