public class JDK5RuntimeJavaMethod
extends org.apache.jdo.impl.model.java.reflection.ReflectionJavaMethod
Constructor and Description |
---|
JDK5RuntimeJavaMethod(java.lang.reflect.Method method,
org.apache.jdo.model.java.JavaType declaringClass)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.apache.jdo.model.java.JavaType |
getComponentType()
Returns the JavaType representation of the component type of the return
type of the method, if the method return type is an array or
collection.
|
getJavaTypeForClass, getModifiers, getParameterTypes, getReturnType, getType, getUnderlyingObject
equals, getDeclaringClass, getName, hashCode, toString
public JDK5RuntimeJavaMethod(java.lang.reflect.Method method, org.apache.jdo.model.java.JavaType declaringClass)
method
- the reflection method representation.declaringClass
- the JavaType of the class that declares the
method.public org.apache.jdo.model.java.JavaType getComponentType()
null
, if the property type
is not an array or collection.getComponentType
in interface org.apache.jdo.model.java.JavaMember
getComponentType
in class org.apache.jdo.impl.model.java.AbstractJavaMember
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.