| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static Map | |
| private static List | |
| private static Map | |
| private static Map | |
| private static final String | ORG_GLASSFISH_GMBAL_NO_MULTIPLE_UPPER_BOUNDS_EXCEPTION
For ORB compatibility with JDK11+ JDKs see https://github.com/eclipse-ee4j/orb-gmbal/issues/22 In short, the ORB references com.sun.corba.ee.spi.orb.ORB, which references com.sun.corba.ee.impl.corba.TypeCodeFactory which eventually references com.sun.corba.ee.spi.legacy.connection.Connection.getSocket and java.net.Socket.checkPermission(java.net.SocketImpl). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static synchronized void | |
| public static synchronized int | |
| private static List | |
| private static Method | |
| private static List | |
| private static EvaluatedClassDeclaration | |
| public static synchronized EvaluatedType | Returns: The evaluated typeThe java type to evaluate cls)Given any generic java type, evaluate all of its type bounds and return an evaluated type. |
| private static EvaluatedType | Returns: an EvaluatedType, if cls is on the immutable list; otherwise null.Return the EvaluatedType corresponding to cls if cls represents an immutable type, otherwise return null. |
| private static void | |
| public static synchronized void |
| classMap | back to summary |
|---|---|
| private static Map<Class<T>, EvaluatedType> classMap | |
| emptyETList | back to summary |
|---|---|
| private static List<EvaluatedType> emptyETList | |
| evalClassMap | back to summary |
|---|---|
| private static Map<TypeEvaluator. | |
| immutableTypes | back to summary |
|---|---|
| private static Map<Class<?>, EvaluatedType> immutableTypes | |
| ORG_GLASSFISH_GMBAL_NO_MULTIPLE_UPPER_BOUNDS_EXCEPTION | back to summary |
|---|---|
| private static final String ORG_GLASSFISH_GMBAL_NO_MULTIPLE_UPPER_BOUNDS_EXCEPTION For ORB compatibility with JDK11+ JDKs see https://github.com/eclipse-ee4j/orb-gmbal/issues/22 In short, the ORB references com.sun.corba.ee.spi.orb.ORB, which references com.sun.corba.ee.impl.corba.TypeCodeFactory which eventually references com.sun.corba.ee.spi.legacy.connection.Connection.getSocket and java.net.Socket.checkPermission(java.net.SocketImpl). Now SocketImpl contains a method "<S extends SocketImpl & PlatformSocketImpl> S createPlatformSocketImpl", which causes the ORB to crash completely. Setting a system property with this string ignores the fact GMBAL doesn't support multiple upper bounds. | |
| TypeEvaluator | back to summary |
|---|---|
| private TypeEvaluator() | |
| dumpEvalClassMap | back to summary |
|---|---|
| public static synchronized void dumpEvalClassMap() | |
| evalClassMapSize | back to summary |
|---|---|
| public static synchronized int evalClassMapSize() | |
| getDeclaredFields | back to summary |
|---|---|
| private static List | |
| getDeclaredMethod | back to summary |
|---|---|
| private static Method getDeclaredMethod(final Class<?> cls, final String name, final Class<?>... sig) throws NoSuchMethodException, PrivilegedActionException | |
| getDeclaredMethods | back to summary |
|---|---|
| private static List | |
| getECD | back to summary |
|---|---|
| private static EvaluatedClassDeclaration getECD(Class<T> cls) | |
| getEvaluatedType | back to summary |
|---|---|
| public static synchronized EvaluatedType getEvaluatedType(Class<T> cls) Given any generic java type, evaluate all of its type bounds and return an evaluated type.
| |
| getImmutableEvaluatedType | back to summary |
|---|---|
| private static EvaluatedType getImmutableEvaluatedType(Class<?> cls) Return the EvaluatedType corresponding to cls if cls represents an immutable type, otherwise return null.
| |
| mapPut | back to summary |
|---|---|
private static void mapPut(EvaluatedClassDeclaration ecd, Class<T> cls)
| |
| setDebugLevel | back to summary |
|---|---|
| public static synchronized void setDebugLevel(int level) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final TypeEvaluator. |
| Access | Constructor and Description |
|---|---|
| public |
| OBJECT_KEY | back to summary |
|---|---|
| public static final TypeEvaluator. | |
| EvalMapKey | back to summary |
|---|---|
| public EvalMapKey(Class<?> cls, List<EvaluatedType> decls) | |
| Modifier and Type | Field and Description |
|---|---|
| private Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public EvaluatedType | |
| public EvaluatedType | |
| private Pair | |
| private Pair | |
| public void | |
| public void | |
| public void | |
| public void |
| table | back to summary |
|---|---|
| private Map<Pair<Class<?>, List<Type>>, EvaluatedType> table | |
| PartialDefinitions | back to summary |
|---|---|
| private PartialDefinitions() | |
| get | back to summary |
|---|---|
| public EvaluatedType get(Class<T> cls) | |
| get | back to summary |
|---|---|
| public EvaluatedType get(ParameterizedType pt) | |
| getKey | back to summary |
|---|---|
| private Pair | |
| getKey | back to summary |
|---|---|
| private Pair | |
| put | back to summary |
|---|---|
| public void put(Class<T> cls, EvaluatedType et) | |
| put | back to summary |
|---|---|
| public void put(ParameterizedType pt, EvaluatedType et) | |
| remove | back to summary |
|---|---|
| public void remove(Class<T> cls) | |
| remove | back to summary |
|---|---|
| public void remove(ParameterizedType pt) | |
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Display | |
| private final TypeEvaluator. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public EvaluatedType | |
| private void | |
| private TypeEvaluator. | |
| private TypeEvaluator. | |
| private EvaluatedType | getCorrectDeclaration(TypeEvaluator.
|
| private List | |
| private EvaluatedType | |
| private void | |
| private void | processClass(final EvaluatedClassDeclaration newDecl, final Map<String, EvaluatedType> bindings, final Class<T> decl)
|
| private EvaluatedType | |
| private EvaluatedFieldDeclaration | |
| private EvaluatedType | |
| private EvaluatedMethodDeclaration | |
| private EvaluatedType | |
| private EvaluatedType | |
| private EvaluatedType |
| display | back to summary |
|---|---|
| private final Display<String, EvaluatedType> display | |
| partialDefinitions | back to summary |
|---|---|
| private final TypeEvaluator. | |
| TypeEvaluationVisitor | back to summary |
|---|---|
| public TypeEvaluationVisitor() | |
| describe | back to summary |
|---|---|
private void describe(String msg, Object data)
| |
| evaluateType | back to summary |
|---|---|
public EvaluatedType evaluateType(Object type)
| |
| fieldException | back to summary |
|---|---|
private void fieldException(Exception exc, Field fld)
| |
| getBindings | back to summary |
|---|---|
| private TypeEvaluator. | |
| getBindings | back to summary |
|---|---|
| private TypeEvaluator. | |
| getCorrectDeclaration | back to summary |
|---|---|
private EvaluatedType getCorrectDeclaration(TypeEvaluator.
| |
| getInheritance | back to summary |
|---|---|
private List
| |
| lookup | back to summary |
|---|---|
private EvaluatedType lookup(TypeVariable<D extends GenericDeclaration> tvar)
| |
| message | back to summary |
|---|---|
private void message(String msg)
| |
| processClass | back to summary |
|---|---|
private void processClass(final EvaluatedClassDeclaration newDecl, final Map<String, EvaluatedType> bindings, final Class<T> decl)
| |
| visitClassDeclaration | back to summary |
|---|---|
private EvaluatedType visitClassDeclaration(Class<T> decl)
| |
| visitFieldDeclaration | back to summary |
|---|---|
private EvaluatedFieldDeclaration visitFieldDeclaration(final EvaluatedClassDeclaration cdecl, final Field fld)
| |
| visitGenericArrayType | back to summary |
|---|---|
private EvaluatedType visitGenericArrayType(GenericArrayType at)
| |
| visitMethodDeclaration | back to summary |
|---|---|
private EvaluatedMethodDeclaration visitMethodDeclaration(final EvaluatedClassDeclaration cdecl, final Method mdecl)
| |
| visitParameterizedType | back to summary |
|---|---|
private EvaluatedType visitParameterizedType(ParameterizedType pt)
| |
| visitTypeVariable | back to summary |
|---|---|
private EvaluatedType visitTypeVariable(TypeVariable<D extends GenericDeclaration> tvar)
| |
| visitWildcardType | back to summary |
|---|---|
private EvaluatedType visitWildcardType(WildcardType wt)
| |
| Access | Constructor and Description |
|---|---|
| public |
| OrderedResult | back to summary |
|---|---|
| public OrderedResult() | |
| add | back to summary |
|---|---|
| public void add(K key, V value) | |
| getList | back to summary |
|---|---|
| public List | |
| getMap | back to summary |
|---|---|
| public Map | |