public class StaticClass extends Object implements Serializable
BeansLinker
as being
special, and operations on them will be linked against the represented class' static facet. The "class" synthetic
property is additionally recognized and returns the Java Class
object, as per getRepresentedClass()
method. Conversely, Class
objects exposed through BeansLinker
expose the "static" synthetic property
which returns an instance of this class.Modifier and Type | Method and Description |
---|---|
static StaticClass |
forClass(Class<?> clazz)
Retrieves the
StaticClass instance for the specified class. |
Class<?> |
getRepresentedClass()
Returns the represented Java class.
|
String |
toString() |
public static StaticClass forClass(Class<?> clazz)
StaticClass
instance for the specified class.clazz
- the class for which the static facet is requested.StaticClass
instance representing the specified class.public Class<?> getRepresentedClass()
Copyright © 2015 Attila Szegedi. All rights reserved.