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, wait
name, reference
protected 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()
MessageObjectType
Object.class.getName()
type
in interface MessageObjectType
public final boolean isAssignableFrom(java.lang.Class<?> type)
MessageObjectType
type
parameter. If this type is assignable from the class true
is returned, otherwise false
.isAssignableFrom
in interface MessageObjectType
type
- 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)
MessageObjectType
type
parameter. If this type is a
subtype of the class true
is returned, otherwise false
.isSubtypeOf
in interface MessageObjectType
type
- 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)
MessageObjectType
type
parameter. If this type is
the same type as the class true
is returned, otherwise false
.isSameAs
in interface MessageObjectType
type
- the class type to check.true
if this type is the same type as the class, otherwise false
.