public final class TypeReference extends Object
Subject to change without notice.
Modifier and Type | Field and Description |
---|---|
Annotation[] |
annotations
The annotations associated with the reference of this type.
|
QName |
tagName
The associated XML element name that the JAX-RPC uses with this type reference.
|
Type |
type
The Java type that's being referenced.
|
Constructor and Description |
---|
TypeReference(QName tagName,
Type type,
Annotation... annotations) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
<A extends Annotation> |
get(Class<A> annotationType)
Finds the specified annotation from the array and returns it.
|
int |
hashCode() |
TypeReference |
toItemType()
Creates a
TypeReference for the item type,
if this TypeReference represents a collection type. |
public final QName tagName
public final Type type
public final Annotation[] annotations
public TypeReference(QName tagName, Type type, Annotation... annotations)
public <A extends Annotation> A get(Class<A> annotationType)
public TypeReference toItemType()
TypeReference
for the item type,
if this TypeReference
represents a collection type.
Otherwise returns an identical type.Copyright © 2017 JBoss by Red Hat. All rights reserved.