public class JavaVersions extends 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 Class<?> |
extractClass(Type type)
Extracts the class from the given argument, if possible.
|
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.
|
public static Class<?>[] getParameterizedTypes(Field f)
public static Class<?>[] getParameterizedTypes(Method meth)
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.