public class TypeImpl extends AnnotatedElementImpl implements Type
Constructor and Description |
---|
TypeImpl(String name,
TypeProxy<Type> sink) |
Modifier and Type | Method and Description |
---|---|
Collection<URI> |
getDefiningURIs()
Returns the defining URIs
|
Collection<MethodModel> |
getMethods()
Returns an unmodifiable collection of methods that are declared
in this type.
|
Collection<Member> |
getReferences()
Returns a unmodifiable collection of this type references.
|
protected void |
print(StringBuffer sb) |
boolean |
wasDefinedIn(Collection<URI> uris)
Determine if this type was defined in one of the passed URI or not
|
getAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotations, getName, shortDesc
public Collection<URI> getDefiningURIs()
Type
getDefiningURIs
in interface Type
public boolean wasDefinedIn(Collection<URI> uris)
Type
wasDefinedIn
in interface Type
uris
- collection of URI to check if this type was defined in them.public Collection<MethodModel> getMethods()
Type
getMethods
in interface Type
public Collection<Member> getReferences()
Type
getReferences
in interface Type
protected void print(StringBuffer sb)
print
in class AnnotatedElementImpl
Copyright © 2009–2023 Oracle Corporation. All rights reserved.