org.apache.openjpa.lib.util
Class JavaVersions
java.lang.Object
org.apache.openjpa.lib.util.JavaVersions
public class JavaVersions
- extends Object
Utilities for dealing with different Java specification versions.
- Author:
- Abe White, Pinaki Poddar
Field Summary |
static int |
VERSION
Java version; one of 2, 3, 4, 5, 6, or 7. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION
public static final int VERSION
- Java version; one of 2, 3, 4, 5, 6, or 7.
JavaVersions
public JavaVersions()
getParameterizedTypes
public static Class<?>[] getParameterizedTypes(Field f)
- Collects the parameterized type declarations for a given field.
getParameterizedTypes
public static Class<?>[] getParameterizedTypes(Method meth)
- Collects the parameterized return type declarations for a given method.
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.