private IBinaryMethod createBinaryMethod(NdMethod ndMethod) { return IndexBinaryMethod.create().setAnnotations(toAnnotationArray(ndMethod.getAnnotations())) .setModifiers(ndMethod.getModifiers()).setIsConstructor(ndMethod.isConstructor()) .setArgumentNames(getArgumentNames(ndMethod)).setDefaultValue(unpackValue(ndMethod.getDefaultValue())) .setExceptionTypeNames(getExceptionTypeNames(ndMethod)) .setGenericSignature(getGenericSignatureFor(ndMethod)) .setMethodDescriptor(ndMethod.getMethodDescriptor()) .setParameterAnnotations(getParameterAnnotations(ndMethod)) .setSelector(ndMethod.getSelector()).setTagBits(ndMethod.getTagBits()) .setIsClInit(ndMethod.isClInit()).setTypeAnnotations(createBinaryTypeAnnotations(ndMethod.getTypeAnnotations())); }
private IBinaryMethod createBinaryMethod(NdMethod ndMethod) { return IndexBinaryMethod.create().setAnnotations(toAnnotationArray(ndMethod.getAnnotations())) .setModifiers(ndMethod.getModifiers()).setIsConstructor(ndMethod.isConstructor()) .setArgumentNames(getArgumentNames(ndMethod)).setDefaultValue(unpackValue(ndMethod.getDefaultValue())) .setExceptionTypeNames(getExceptionTypeNames(ndMethod)) .setGenericSignature(getGenericSignatureFor(ndMethod)) .setMethodDescriptor(ndMethod.getMethodDescriptor()) .setParameterAnnotations(getParameterAnnotations(ndMethod)) .setSelector(ndMethod.getSelector()).setTagBits(ndMethod.getTagBits()) .setIsClInit(ndMethod.isClInit()).setTypeAnnotations(createBinaryTypeAnnotations(ndMethod.getTypeAnnotations())); }