Package org.kohsuke.stapler
Class ReflectionUtils
java.lang.Object
org.kohsuke.stapler.ReflectionUtils
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object
getVmDefaultValueFor
(Class<?> type) Given the primitive type, returns the VM default value for that type in a boxed form.static Annotation[]
union
(Annotation[] a, Annotation[] b) Merge two sets of annotations.
-
Constructor Details
-
ReflectionUtils
public ReflectionUtils()
-
-
Method Details
-
getVmDefaultValueFor
Given the primitive type, returns the VM default value for that type in a boxed form. For reference types, return null. -
union
Merge two sets of annotations. If both contains the same annotation, the definition in 'b' overrides the definition in 'a' and shows up in the result
-