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 ClassStructure
public boolean isArray()
isArray
in interface ClassStructure
public int getArrayDimensions()
getArrayDimensions
in interface ClassStructure
public boolean isPrimitive()
isPrimitive
in interface ClassStructure
public java.lang.String getExpectationName(java.lang.String name)
getExpectationName
in interface ClassStructure
public boolean isInterface()
isInterface
in interface ClassStructure
public MethodStructure[] getMethods()
getMethods
in interface ClassStructure
public MethodStructure[] getConstructors()
getConstructors
in interface ClassStructure