public class TypeImpl extends AnnotatedElementImpl implements Type
| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<java.net.URI> |
definingURIs |
private java.util.List<MethodModel> |
methods |
private TypeProxy<Type> |
sink |
| Constructor and Description |
|---|
TypeImpl(java.lang.String name,
TypeProxy<Type> sink) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addDefiningURI(java.net.URI uri) |
(package private) void |
addMethod(MethodModelImpl m) |
java.util.Collection<java.net.URI> |
getDefiningURIs()
Returns the defining URIs
|
java.util.Collection<MethodModel> |
getMethods()
Returns an unmodifiable collection of methods that are declared
in this type.
|
(package private) TypeProxy<Type> |
getProxy() |
java.util.Collection<Member> |
getReferences()
Returns a unmodifiable collection of this type references.
|
protected void |
print(java.lang.StringBuffer sb) |
boolean |
wasDefinedIn(java.util.Collection<java.net.URI> uris)
Determine if this type was defined in one of the passed URI or not
|
addAnnotation, getAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotations, getName, shortDescprivate final java.util.List<MethodModel> methods
private final java.util.Set<java.net.URI> definingURIs
public java.util.Collection<java.net.URI> getDefiningURIs()
TypegetDefiningURIs in interface Typevoid addDefiningURI(java.net.URI uri)
public boolean wasDefinedIn(java.util.Collection<java.net.URI> uris)
TypewasDefinedIn in interface Typeuris - collection of URI to check if this type was defined in them.void addMethod(MethodModelImpl m)
public java.util.Collection<MethodModel> getMethods()
TypegetMethods in interface Typepublic java.util.Collection<Member> getReferences()
TypegetReferences in interface Typeprotected void print(java.lang.StringBuffer sb)
print in class AnnotatedElementImpl