Modifier and Type | Method and Description |
---|---|
Type[] |
MethodInfo.args()
Returns an array containing parameter types in parameter order.
|
Type |
AnnotationValue.asClass()
Returns the class name, in
Type form, that represents a Java
Class used by this value. |
Type[] |
AnnotationValue.asClassArray()
Returns an array of class types representing the underlying class array value.
|
static Type |
Type.create(DotName name,
Type.Kind kind) |
Type |
MethodInfo.returnType()
Returns this method's return parameter type.
|
Type |
FieldInfo.type()
Returns the Java Type of this field.
|
Modifier and Type | Method and Description |
---|---|
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
String name,
Type[] args,
Type returnType,
short flags)
Construct a new mock Method instance.
|
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
String name,
Type[] args,
Type returnType,
short flags)
Construct a new mock Method instance.
|
static FieldInfo |
FieldInfo.create(ClassInfo clazz,
String name,
Type type,
short flags)
Construct a new mock Field instance.
|
static AnnotationValue |
AnnotationValue.createClassValue(String name,
Type type) |
Copyright © 2014 JBoss by Red Hat. All rights reserved.