com.philemonworks.selfdiagnose
Class Instance
java.lang.Object
com.philemonworks.selfdiagnose.Instance
public class Instance
- extends Object
Instance is a simple wrapper class to do reflection invocations.
Its primary (sole) use can be found in the vendor-dependent tasks.
Using reflection, vendor-dependent classes and their API can be used
without having JAR dependencies in this project.
- Author:
- ernest.micklei
Instance
public Instance(Object any)
create
public static Instance create(String className)
create
public static Instance create(String className,
Object[] args)
invoke
public Instance invoke(String methodName)
invoke
public Instance invoke(String methodName,
Object arg)
invoke
public Instance invoke(String methodName,
int arg)
stringValue
public String stringValue()
intValue
public int intValue()
value
public Object value()
toString
public String toString()
- Overrides:
toString
in class Object
longValue
public long longValue()
doubleValue
public double doubleValue()
Copyright © 2012. All Rights Reserved.