private void addBinaryAnnotation(IBinaryAnnotation annotation) {
addTypeReference(replace('/', '.', Signature.toCharArray(annotation.getTypeName())));
IBinaryElementValuePair[] valuePairs = annotation.getElementValuePairs();
if (valuePairs != null) {
for (int j=0, vpLength=valuePairs.length; j<vpLength; j++) {
IBinaryElementValuePair valuePair = valuePairs[j];
addMethodReference(valuePair.getName(), 0);
Object pairValue = valuePair.getValue();
addPairValue(pairValue);
}
}
}