public class Utilities extends Object
| Modifier and Type | Field and Description |
|---|---|
static char |
INSTANCE_PATH_SEPARATOR
Separator for instance names
|
| Constructor and Description |
|---|
Utilities() |
| Modifier and Type | Method and Description |
|---|---|
static BaseHK2JAXBBean |
_addRoot(UnparentedNode rootNode,
Object rawRoot,
DynamicChangeInfo changeInfo,
ClassReflectionHelper helper,
WriteableBeanDatabase writeableDatabase,
DynamicConfiguration dynamicService) |
static void |
advertise(WriteableBeanDatabase wbd,
DynamicConfiguration config,
BaseHK2JAXBBean bean) |
static String |
convertNameToString(Name name)
Converts the Name from the Element to a String
|
static String |
convertToSetter(String getterName)
Converts a getter name to a setter name (works with
both IS getters and GET getters)
|
static AltClass |
convertTypeMirror(TypeMirror typeMirror,
ProcessingEnvironment processingEnv) |
static BaseHK2JAXBBean |
createBean(Class<?> implClass) |
static String |
createInstanceName(BaseHK2JAXBBean bean)
Creates an instance name by traveling up the parent chain.
|
static BaseHK2JAXBBean |
internalAdd(BaseHK2JAXBBean myParent,
String childProperty,
Object rawChild,
String childKey,
int index,
DynamicChangeInfo changeInformation,
WriteableBeanDatabase writeableDatabase,
DynamicConfiguration dynamicService) |
static BaseHK2JAXBBean |
internalRemove(BaseHK2JAXBBean myParent,
String childProperty,
String childKey,
int index,
DynamicChangeInfo changeInformation,
WriteableBeanDatabase writeableDatabase,
DynamicConfiguration dynamicService)
Write lock must be held
|
public static final char INSTANCE_PATH_SEPARATOR
public static BaseHK2JAXBBean createBean(Class<?> implClass)
public static String createInstanceName(BaseHK2JAXBBean bean)
bean - The non-null bean from where to get the instancenamepublic static void advertise(WriteableBeanDatabase wbd, DynamicConfiguration config, BaseHK2JAXBBean bean)
public static String convertToSetter(String getterName)
getterName - Non-null getter name starting with is or getpublic static String convertNameToString(Name name)
name - public static AltClass convertTypeMirror(TypeMirror typeMirror, ProcessingEnvironment processingEnv)
public static BaseHK2JAXBBean internalAdd(BaseHK2JAXBBean myParent, String childProperty, Object rawChild, String childKey, int index, DynamicChangeInfo changeInformation, WriteableBeanDatabase writeableDatabase, DynamicConfiguration dynamicService)
public static BaseHK2JAXBBean _addRoot(UnparentedNode rootNode, Object rawRoot, DynamicChangeInfo changeInfo, ClassReflectionHelper helper, WriteableBeanDatabase writeableDatabase, DynamicConfiguration dynamicService)
public static BaseHK2JAXBBean internalRemove(BaseHK2JAXBBean myParent, String childProperty, String childKey, int index, DynamicChangeInfo changeInformation, WriteableBeanDatabase writeableDatabase, DynamicConfiguration dynamicService)
myParent - childProperty - childKey - index - changeInformation - writeableDatabase - dynamicService - Copyright © 2009-2015 Oracle Corporation. All Rights Reserved.