@Test public void testIsNotEmpty() { PropertyElementDescriptors descriptors = new PropertyElementDescriptors(TestPmo.SINGLE_PMO_PROPERTY); assertThat(descriptors.isNotEmpty(), is(false)); descriptors.addAspect(Arrays.<LinkkiAspectDefinition> asList(new EnabledAspectDefinition(EnabledType.ENABLED))); assertThat(descriptors.isNotEmpty(), is(false)); descriptors.addDescriptor(TestUIAnnotation.class, new ElementDescriptor(0, TestLinkkiComponentDefinition.create(), BoundProperty.of(TestPmo.SINGLE_PMO_PROPERTY), Collections.emptyList()), TestPmo.class); assertThat(descriptors.isNotEmpty()); }
public boolean isNotEmpty() { return !descriptors.isEmpty(); }
PropertyElementDescriptors { public boolean isNotEmpty() { return !descriptors.isEmpty(); } }
PropertyElementDescriptors { public boolean isNotEmpty() { return !descriptors.isEmpty(); } PropertyElementDescriptors(String pmoPropertyName); }
PropertyElementDescriptors { public boolean isNotEmpty() { return !descriptors.isEmpty(); } PropertyElementDescriptors(String pmoPropertyName); int getPosition(); String getPmoPropertyName(); ElementDescriptor getDescriptor(Object pmo); void addAspect(List<LinkkiAspectDefinition> aspectDefs); boolean isNotEmpty(); List<LinkkiAspectDefinition> getAllAspects(); }
PropertyElementDescriptors { public boolean isNotEmpty() { return !descriptors.isEmpty(); } PropertyElementDescriptors(String pmoPropertyName); int getPosition(); String getPmoPropertyName(); ElementDescriptor getDescriptor(Object pmo); void addAspect(List<LinkkiAspectDefinition> aspectDefs); boolean isNotEmpty(); List<LinkkiAspectDefinition> getAllAspects();  }