@Test public void testConstructors() throws Exception { URI pearDescriptorURI = sentDescPath.toURI(); LeoPearAnnotator annotator = new LeoPearAnnotator(pearDescriptorURI); assertNotNull(annotator); assertNotNull(annotator.getDescriptor()); annotator = new LeoPearAnnotator(new LeoPearDescriptor(pearDescriptorURI)); assertNotNull(annotator); }
@Override public LeoDelegate getDescriptor() throws Exception { return descriptor; }
LeoPearAnnotator implements LeoAnnotator { @Override public LeoDelegate getDescriptor() throws Exception { return descriptor; } }
LeoPearAnnotator implements LeoAnnotator { @Override public LeoDelegate getDescriptor() throws Exception { return descriptor; } LeoPearAnnotator(@Nonnull URI pearDescFile);  LeoPearAnnotator(@Nonnull LeoPearDescriptor descriptor); }
LeoPearAnnotator implements LeoAnnotator { @Override public LeoDelegate getDescriptor() throws Exception { return descriptor; } LeoPearAnnotator(@Nonnull URI pearDescFile);  LeoPearAnnotator(@Nonnull LeoPearDescriptor descriptor); @Override LeoDelegate getDescriptor(); LeoPearAnnotator setDescriptor(@Nonnull LeoPearDescriptor descriptor); String getName(); LeoPearAnnotator setName(String name); }
LeoPearAnnotator implements LeoAnnotator { @Override public LeoDelegate getDescriptor() throws Exception { return descriptor; } LeoPearAnnotator(@Nonnull URI pearDescFile);  LeoPearAnnotator(@Nonnull LeoPearDescriptor descriptor); @Override LeoDelegate getDescriptor(); LeoPearAnnotator setDescriptor(@Nonnull LeoPearDescriptor descriptor); String getName(); LeoPearAnnotator setName(String name);  }