Package aQute.bnd.compatibility
Class RuntimeSignatureBuilder
- java.lang.Object
-
- aQute.bnd.compatibility.RuntimeSignatureBuilder
-
public class RuntimeSignatureBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RuntimeSignatureBuilder(Scope root)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private Scope
add(Scope declaring, Scope enclosing, int modifiers, java.lang.reflect.TypeVariable<?>[] typeVariables, Kind kind, java.lang.String id, java.lang.reflect.Type mainType, java.lang.reflect.Type[] parameterTypes, java.lang.reflect.Type[] exceptionTypes)
Scope
add(java.lang.Class<?> c)
private GenericType
convert(Scope source, java.lang.reflect.Type t)
private GenericType[]
convert(java.lang.reflect.Type[] parameterTypes)
private GenericParameter[]
convert(java.lang.reflect.TypeVariable<?>[] vars)
private static java.lang.String
getDescriptor(java.lang.Class<?> c)
static java.lang.String
getDescriptor(java.lang.Class<?> base, java.lang.Class<?>[] parameters)
private Scope
getEnclosingScope(java.lang.Class<?> c)
private Scope
getGlobalScope(java.lang.Class<?> c)
static java.lang.String
identity(java.lang.Class<?> c)
static java.lang.String
identity(java.lang.reflect.Constructor<?> m)
static java.lang.String
identity(java.lang.reflect.Field m)
static java.lang.String
identity(java.lang.reflect.Method m)
-
-
-
Field Detail
-
root
final Scope root
-
-
Constructor Detail
-
RuntimeSignatureBuilder
public RuntimeSignatureBuilder(Scope root)
-
-
Method Detail
-
identity
public static java.lang.String identity(java.lang.Class<?> c)
-
identity
public static java.lang.String identity(java.lang.reflect.Method m)
-
identity
public static java.lang.String identity(java.lang.reflect.Constructor<?> m)
-
identity
public static java.lang.String identity(java.lang.reflect.Field m)
-
getDescriptor
public static java.lang.String getDescriptor(java.lang.Class<?> base, java.lang.Class<?>[] parameters)
-
add
public Scope add(java.lang.Class<?> c)
-
getEnclosingScope
private Scope getEnclosingScope(java.lang.Class<?> c)
-
getGlobalScope
private Scope getGlobalScope(java.lang.Class<?> c)
-
add
private Scope add(Scope declaring, Scope enclosing, int modifiers, java.lang.reflect.TypeVariable<?>[] typeVariables, Kind kind, java.lang.String id, java.lang.reflect.Type mainType, java.lang.reflect.Type[] parameterTypes, java.lang.reflect.Type[] exceptionTypes)
-
convert
private GenericType convert(Scope source, java.lang.reflect.Type t)
-
convert
private GenericParameter[] convert(java.lang.reflect.TypeVariable<?>[] vars)
-
convert
private GenericType[] convert(java.lang.reflect.Type[] parameterTypes)
-
getDescriptor
private static java.lang.String getDescriptor(java.lang.Class<?> c)
-
-