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 Scopeadd(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)Scopeadd(java.lang.Class<?> c)private GenericTypeconvert(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.StringgetDescriptor(java.lang.Class<?> c)static java.lang.StringgetDescriptor(java.lang.Class<?> base, java.lang.Class<?>[] parameters)private ScopegetEnclosingScope(java.lang.Class<?> c)private ScopegetGlobalScope(java.lang.Class<?> c)static java.lang.Stringidentity(java.lang.Class<?> c)static java.lang.Stringidentity(java.lang.reflect.Constructor<?> m)static java.lang.Stringidentity(java.lang.reflect.Field m)static java.lang.Stringidentity(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)
-
-