abstract class AbstractMessageObjectType extends java.lang.Object implements MessageObjectType
| Modifier and Type | Field and Description |
|---|---|
protected javax.lang.model.util.Elements |
elements |
protected javax.lang.model.type.TypeMirror |
typeMirror |
protected javax.lang.model.util.Types |
types |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMessageObjectType(javax.lang.model.util.Elements elements,
javax.lang.model.util.Types types,
javax.lang.model.element.Element element) |
protected |
AbstractMessageObjectType(javax.lang.model.util.Elements elements,
javax.lang.model.util.Types types,
javax.lang.model.type.TypeMirror typeMirror) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAssignableFrom(java.lang.Class<?> type)
Determines if this type is either the same as, or is a supertype of, the class represented by the
type
parameter. |
boolean |
isSameAs(java.lang.Class<?> type)
Determines if this type is the same type as the class represented by the
type parameter. |
boolean |
isSubtypeOf(java.lang.Class<?> type)
Determines if this type is a subtype of the class represented by the
type parameter. |
java.lang.String |
type()
Returns the qualified type name of the object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitname, referenceprotected final javax.lang.model.util.Elements elements
protected final javax.lang.model.util.Types types
protected final javax.lang.model.type.TypeMirror typeMirror
protected AbstractMessageObjectType(javax.lang.model.util.Elements elements,
javax.lang.model.util.Types types,
javax.lang.model.type.TypeMirror typeMirror)
protected AbstractMessageObjectType(javax.lang.model.util.Elements elements,
javax.lang.model.util.Types types,
javax.lang.model.element.Element element)
public java.lang.String type()
MessageObjectTypeObject.class.getName()type in interface MessageObjectTypepublic final boolean isAssignableFrom(java.lang.Class<?> type)
MessageObjectTypetype
parameter. If this type is assignable from the class true is returned, otherwise false.isAssignableFrom in interface MessageObjectTypetype - the class type to check.true if this type is the same as or a superclass of the class, otherwise false.public final boolean isSubtypeOf(java.lang.Class<?> type)
MessageObjectTypetype parameter. If this type is a
subtype of the class true is returned, otherwise false.isSubtypeOf in interface MessageObjectTypetype - the class type to check.true if this type is a subtype of the class, otherwise false.public final boolean isSameAs(java.lang.Class<?> type)
MessageObjectTypetype parameter. If this type is
the same type as the class true is returned, otherwise false.isSameAs in interface MessageObjectTypetype - the class type to check.true if this type is the same type as the class, otherwise false.