Package 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
Fields Modifier and Type Field Description static int
VERSION
Java version; one of 2, 3, 4, 5, 6, 7, or later.
-
Constructor Summary
Constructors Constructor Description JavaVersions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class<?>[]
getParameterizedTypes(Field f)
Collects the parameterized type declarations for a given field.static Class<?>[]
getParameterizedTypes(Method meth)
Collects the parameterized return type declarations for a given method.
-