public class CollectionJ2NoIndexMemberAndAccessorFactory extends CollectionJ2MemberAndAccessorFactory
| Constructor and Description |
|---|
CollectionJ2NoIndexMemberAndAccessorFactory(JavaNaming naming)
Creates a new CollectionJ2NoIndexMemberAndAccessorFactory.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createAddByIndexMethod(CollectionInfo fieldInfo,
JClass jClass)
Creates the add by index method.
|
protected void |
createGetByIndexMethod(CollectionInfo fieldInfo,
JClass jClass,
boolean useJava50)
Creates the get by index method.
|
protected void |
createRemoveByIndexMethod(CollectionInfo fieldInfo,
JClass jClass)
Creates the remove by index method.
|
protected void |
createSetByIndexMethod(CollectionInfo fieldInfo,
JClass jClass)
Creates the set by index method.
|
createAddMethod, createCollectionIterationMethods, createEnumerateMethodaddMaxSizeCheck, createAccessMethods, createBoundPropertyCode, createIteratorMethod, generateInitializerCodecreateJavaField, getJavaNaming, setUseOldFieldNamingpublic CollectionJ2NoIndexMemberAndAccessorFactory(JavaNaming naming)
naming - the java naming to useprotected void createAddByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
createAddByIndexMethod in class CollectionMemberAndAccessorFactoryfieldInfo - the collectionInfo to translatejClass - the jClass to add the method to.protected void createGetByIndexMethod(CollectionInfo fieldInfo, JClass jClass, boolean useJava50)
createGetByIndexMethod in class CollectionMemberAndAccessorFactoryfieldInfo - the collectionInfo to translatejClass - the jClass to add the method to.protected void createSetByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
createSetByIndexMethod in class CollectionMemberAndAccessorFactoryfieldInfo - the collectionInfo to translatejClass - the jClass to add the method to.protected void createRemoveByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
createRemoveByIndexMethod in class CollectionMemberAndAccessorFactoryfieldInfo - the collectionInfo to translatejClass - the jClass to add the method to.Copyright © 2016. All rights reserved.