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)
supresses the method creation
|
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, createEnumerateMethod
addMaxSizeCheck, createAccessMethods, createBoundPropertyCode, createGetByIndexMethod, createIteratorMethod, generateInitializerCode
createJavaField, getJavaNaming, setUseOldFieldNaming
public CollectionJ2NoIndexMemberAndAccessorFactory(JavaNaming naming)
naming
- the java naming to useprotected void createAddByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
createAddByIndexMethod
in class CollectionMemberAndAccessorFactory
fieldInfo
- the collectionInfo to translatejClass
- the jClass to add the method to.protected void createGetByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
protected void createSetByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
createSetByIndexMethod
in class CollectionMemberAndAccessorFactory
fieldInfo
- the collectionInfo to translatejClass
- the jClass to add the method to.protected void createRemoveByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
createRemoveByIndexMethod
in class CollectionMemberAndAccessorFactory
fieldInfo
- the collectionInfo to translatejClass
- the jClass to add the method to.Copyright © 2014. All rights reserved.