void function ( Field arg0 , Object arg1 , List < Collection < ? >> arg2 , Collection < ? > arg3 , int arg4 , N arg5 ) { if ( arg3 instanceof List < ? > ) { ( ( List ) arg3 ) . set ( arg4 , arg5 ) ; } }
override if your ast collection does not support the set method . javac 's for example , does not . concode_field_sep Map<N,L> nodeMap concode_elem_sep String fileName concode_elem_sep String packageDeclaration concode_elem_sep ImportList imports concode_elem_sep L top concode_elem_sep boolean changed concode_elem_sep Field field concode_elem_sep HistogramTracker configTracker concode_elem_sep int dim concode_elem_sep Map<N,N> identityDetector concode_elem_sep Map<Class<?>,Collection<FieldAccess>> fieldsOfASTClasses concode_field_sep boolean setAndGetAsHandled concode_elem_sep Collection<L> buildWithField concode_elem_sep void clearChanged concode_elem_sep void buildWithField0 concode_elem_sep String getPackageDeclaration concode_elem_sep boolean shouldDrill concode_elem_sep T readConfiguration concode_elem_sep L putInMap concode_elem_sep void buildWithCollection concode_elem_sep Map<N,L> getNodeMap concode_elem_sep Collection<FieldAccess> fieldsOf concode_elem_sep URI getAbsoluteFileLocation concode_elem_sep void setTop concode_elem_sep L buildTree concode_elem_sep L top concode_elem_sep boolean replaceStatementInField concode_elem_sep boolean isChanged concode_elem_sep L get concode_elem_sep String getFileName concode_elem_sep void buildWithArray concode_elem_sep L replaceNewWithExistingOld concode_elem_sep boolean replaceStatementInCollection concode_elem_sep void clearState concode_elem_sep ImportList getImportList concode_elem_sep int getSourceVersion concode_elem_sep void getFields concode_elem_sep Collection<Class<? extends N>> getStatementTypes concode_elem_sep boolean replaceStatementInArray concode_elem_sep Class<?> getComponentType concode_elem_sep boolean replaceStatementInNode concode_elem_sep void setChanged concode_elem_sep int getLatestJavaSpecSupported