public class Pathref<C>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ALL |
static TypeCache<java.lang.Class> |
cache |
protected java.lang.String |
path |
Constructor and Description |
---|
Pathref(java.lang.Class<C> target)
Creates new proxified instance of target.
|
Modifier and Type | Method and Description |
---|---|
protected void |
append(java.lang.String methodName)
Appends method name to existing path.
|
protected C |
createProxyObject(java.lang.Class<C> target)
Creates proxy object.
|
protected static void |
injectPathRef(Pathref pathref,
java.lang.Object target) |
static <T> Pathref<T> |
of(java.lang.Class<T> target)
Static factory, for convenient use.
|
java.lang.String |
path() |
java.lang.String |
path(java.util.function.Consumer<C> consumer) |
C |
proxy() |
public static final int ALL
public static TypeCache<java.lang.Class> cache
protected java.lang.String path
public Pathref(java.lang.Class<C> target)
protected void append(java.lang.String methodName)
public static <T> Pathref<T> of(java.lang.Class<T> target)
public java.lang.String path(java.util.function.Consumer<C> consumer)
protected static void injectPathRef(Pathref pathref, java.lang.Object target)
public C proxy()
public java.lang.String path()
Copyright © 2003-present Jodd Team