/** * @author kosyakov - Initial contribution and API * @since 2.10 */ @Accessors @SuppressWarnings("all") public class DefaultHierarchyRoot implements IHierarchyRoot { private final List<IHierarchyNode> roots = CollectionLiterals.<IHierarchyNode>newArrayList(); @Pure public List<IHierarchyNode> getRoots() { return this.roots; } }
/** * A fragment that generates a class that inherits from the generated class of the super-grammar. * This inheritance can be disabled with the {@code inheritImplementation} property. */ @SuppressWarnings("all") public abstract class AbstractInheritingFragment extends AbstractStubGeneratingFragment { @Accessors private boolean inheritImplementation = true; @Pure public boolean isInheritImplementation() { return this.inheritImplementation; } public void setInheritImplementation(final boolean inheritImplementation) { this.inheritImplementation = inheritImplementation; } }
@SuppressWarnings("all") class CompositeGeneratorException extends RuntimeException { @Accessors private final List<Exception> exceptions = CollectionLiterals.<Exception>newArrayList(); public boolean addException(final Exception exception) { return this.exceptions.add(exception); } public boolean hasExceptions() { int _size = this.exceptions.size(); return (_size > 0); } @Pure public List<Exception> getExceptions() { return this.exceptions; } }
@SuppressWarnings("all") public class ApiTokenAuthenticator implements Authenticator<String, User> { @Accessors(AccessorType.PUBLIC_SETTER) private String apiToken; @Override public Optional<User> authenticate(final String credentials) throws AuthenticationException { if (((!StringExtensions.isNullOrEmpty(this.apiToken)) && Objects.equal(credentials, this.apiToken))) { User _user = new User("_apiToken", "apiToken", "api.token@example.com"); return Optional.<User>of(_user); } else { return Optional.<User>empty(); } } public void setApiToken(final String apiToken) { this.apiToken = apiToken; } }
/** * @noextend This class is not intended to be subclassed by clients. * @noinstantiate This class is not intended to be instantiated by clients. * @noreference This class is not intended to be referenced by clients. * * @since 2.7 */ @SuppressWarnings("all") public class JvmIdentifiableMetaData extends AdapterImpl { @Accessors private boolean synthetic; @Override public boolean isAdapterForType(final Object type) { return Objects.equal(JvmIdentifiableMetaData.class, type); } @Pure public boolean isSynthetic() { return this.synthetic; } public void setSynthetic(final boolean synthetic) { this.synthetic = synthetic; } }
@SuppressWarnings("all") public abstract class AbstractDelegator<T extends Object> { @Accessors private T delegate; @Accessors private CompilationUnitImpl compilationUnit; @Pure public T getDelegate() { return this.delegate; } public void setDelegate(final T delegate) { this.delegate = delegate; } @Pure public CompilationUnitImpl getCompilationUnit() { return this.compilationUnit; } public void setCompilationUnit(final CompilationUnitImpl compilationUnit) { this.compilationUnit = compilationUnit; } }
@Accessors(AccessorType.PUBLIC_GETTER) public static final class JavaParseResult<T extends ASTNode> { private String javaCode; private List<T> nodes; private int type; public JavaParseResult(final String javaCode, final int type, final List<T> nodes) { this.javaCode = javaCode; this.type = type; this.nodes = nodes; } @Pure public String getJavaCode() { return this.javaCode; } @Pure public List<T> getNodes() { return this.nodes; } @Pure public int getType() { return this.type; } }
private static class QueueAppender extends AppenderSkeleton { @Accessors(AccessorType.PUBLIC_GETTER) private final Queue<LoggingTester.LogEntry> events = new ConcurrentLinkedQueue<LoggingTester.LogEntry>(); @Override public boolean requiresLayout() { return false; } @Override public void close() { } @Override protected void append(final LoggingEvent event) { String _renderedMessage = event.getRenderedMessage(); String _loggerName = event.getLoggerName(); long _timeStamp = event.getTimeStamp(); Level _level = event.getLevel(); final LoggingTester.LogEntry entry = new LoggingTester.LogEntry(_renderedMessage, _loggerName, _timeStamp, _level); this.events.add(entry); } @Pure public Queue<LoggingTester.LogEntry> getEvents() { return this.events; } }
@Accessors @SuppressWarnings("all") public class ActiveAnnotationContext {
@Accessors @SuppressWarnings("all") public abstract class Entry<T extends Object, R extends ITextSegment> {
@Accessors(AccessorType.PUBLIC_GETTER) public static class DefaultImportsAcceptor implements ImportsAcceptor { private Set<String> types = CollectionLiterals.<String>newHashSet();
@Accessors public static class ConversionResult { private String xtendCode;
@Accessors private String path;
@SuppressWarnings("all") public class InvalidMessageException extends io.typefox.lsapi.services.transport.InvalidMessageException { @Accessors(AccessorType.PUBLIC_GETTER) private final JsonObject json;
@Accessors @SuppressWarnings("all") public class LaunchArgs {
@Accessors @SuppressWarnings("all") public class InvalidMessageException extends RuntimeException {
@Accessors @SuppressWarnings("all") public class CompilerConfiguration {
@Accessors @SuppressWarnings("all") public class NamedSerializationContexts<T extends Object> {
@Accessors private String path;