| 程序包 | 说明 |
|---|---|
| com.liloo.spark.clazz |
| 限定符和类型 | 方法和说明 |
|---|---|
Reflect |
Reflect.call(String name)
Call a method by its name.
|
Reflect |
Reflect.call(String name,
Object... args)
Call a method by its name.
|
Reflect |
Reflect.create()
Call a constructor.
|
Reflect |
Reflect.create(Object... args)
Call a constructor.
|
Reflect |
Reflect.field(String name)
Get a wrapped field.
|
static Reflect |
Reflect.on(Class<?> clazz)
Wrap a class.
|
static Reflect |
Reflect.on(Object object)
Wrap an object.
|
static Reflect |
Reflect.on(String name)
Wrap a class name.
|
Reflect |
Reflect.set(String name,
Object value)
Set a field value.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Reflect> |
Reflect.fields()
Get a Map containing field names and wrapped values for the fields' values.
|
Copyright © 2017 Liloo. All rights reserved.