}
}
public static ClassMetadata scan(ClassReader source) {
ClassMetadata info = new ClassMetadata();
source.accept(new MetaScanner(info), 0);
info.type = Type.getObjectType(source.getClassName());
for (FieldDescriptor fd : info.fields) {
if ((fd.access & ACC_PUBLIC) == ACC_PUBLIC) {
info.directFieldAccess = true;