public class JavaVersions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
VERSION
Java version; one of 2, 3, 4, 5, 6, or 7.
|
Constructor and Description |
---|
JavaVersions() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.lang.Class<?> |
extractClass(java.lang.reflect.Type type)
Extracts the class from the given argument, if possible.
|
static java.lang.Class<?>[] |
getParameterizedTypes(java.lang.reflect.Field f)
Collects the parameterized type declarations for a given field.
|
static java.lang.Class<?>[] |
getParameterizedTypes(java.lang.reflect.Method meth)
Collects the parameterized return type declarations for a given method.
|
public static java.lang.Class<?>[] getParameterizedTypes(java.lang.reflect.Field f)
public static java.lang.Class<?>[] getParameterizedTypes(java.lang.reflect.Method meth)
static java.lang.Class<?> extractClass(java.lang.reflect.Type type) throws java.lang.Exception
java.lang.Exception
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.