use of org.eclipse.jdt.core.dom.Annotation in project Main by SpartanRefactoring.
the class ZZZ___Fixture_ModelClass method a31.
@Test
@method
public void a31() {
for (final Annotation a : annotations()) {
final SingleMemberAnnotation ¢ = az.singleMemberAnnotation(a);
if (¢ == null)
continue;
final List<SimpleName> ns = annotees.of(¢);
assert ns != null;
final SimpleName n = the.firstOf(ns);
assert n != null;
if (!"enumConstant1".equals(n + ""))
continue;
final List<? extends ASTNode> s = scope.of(n);
assert s != null : //
fault.dump() + "\n\t scope = " + //
s + "\n\t ¢ = " + //
¢ + "\n\t n = " + //
n + "\n\t ns = " + //
ns + fault.done();
}
}
use of org.eclipse.jdt.core.dom.Annotation in project Main by SpartanRefactoring.
the class ZZZ___Fixture_ModelClass method a35.
@Test
@method
public void a35() {
for (final Annotation a : annotations()) {
final SingleMemberAnnotation x = az.singleMemberAnnotation(a);
if (x != null && (x.getTypeName() + "").equals(ScopeSize.class.getSimpleName() + "")) {
final SimpleName n = the.firstOf(annotees.of(x));
if (!DummyAnnotation.class.getSimpleName().equals(n + ""))
continue;
azzert.that(x + ": " + n + "/" + definition.kind(n), scope.of(n).size(), is(value(x)));
}
}
}
use of org.eclipse.jdt.core.dom.Annotation in project Main by SpartanRefactoring.
the class ZZZ___Fixture_ModelClass method a30.
@Test
@method
public void a30() {
for (final Annotation a : annotations()) {
final SingleMemberAnnotation ¢ = az.singleMemberAnnotation(a);
if (¢ == null)
continue;
final List<SimpleName> ns = annotees.of(¢);
assert ns != null;
final SimpleName n = the.firstOf(ns);
assert n != null;
if (!"raisin".equals(n + ""))
continue;
final List<? extends ASTNode> s = scope.of(n);
assert s != null : //
fault.dump() + "\n\t scope = " + //
s + "\n\t ¢ = " + //
¢ + "\n\t n = " + //
n + "\n\t ns = " + //
ns + fault.done();
}
}
use of org.eclipse.jdt.core.dom.Annotation in project Main by SpartanRefactoring.
the class ZZZ___Fixture_ModelClass method a28.
@Test
@method
public void a28() {
for (final Annotation a : annotations()) {
final SingleMemberAnnotation ¢ = az.singleMemberAnnotation(a);
if (¢ == null)
continue;
final List<SimpleName> ns = annotees.of(¢);
assert ns != null;
final SimpleName n = the.firstOf(ns);
assert n != null;
final List<? extends ASTNode> s = scope.of(n);
assert s != null : //
fault.dump() + "\n\t scope = " + //
s + "\n\t ¢ = " + //
¢ + "\n\t n = " + //
n + "\n\t ns = " + //
ns + fault.done();
}
}
use of org.eclipse.jdt.core.dom.Annotation in project Main by SpartanRefactoring.
the class ZZZ___Fixture_ModelClass method a37.
@Test
@method
public void a37() {
for (final Annotation a : annotations()) {
final SingleMemberAnnotation x = az.singleMemberAnnotation(a);
if (x != null && (x.getTypeName() + "").equals(ScopeSize.class.getSimpleName() + "")) {
final SimpleName n = the.firstOf(annotees.of(x));
if (!DummyInterface.class.getSimpleName().equals(n + ""))
continue;
azzert.that(x + ": " + n + "/" + definition.kind(n), scope.of(n).size(), is(value(x)));
}
}
}
Aggregations