Package org.immutables.generator
Class SourceOrdering.EclipseCompilerOrderingProvider
java.lang.Object
org.immutables.generator.SourceOrdering.EclipseCompilerOrderingProvider
- All Implemented Interfaces:
com.google.common.base.Function<Element,,Object> Function<Element,,Object> SourceOrdering.OrderingProvider
- Enclosing class:
SourceOrdering
private static class SourceOrdering.EclipseCompilerOrderingProvider
extends Object
implements SourceOrdering.OrderingProvider, com.google.common.base.Function<Element,Object>
This inner static class will fail to load if Eclipse compliler classes will not be in
classpath.
If annotation processor is executed by Javac compiler in presence of ECJ classes, then
instanceof checks will fail with fallback to defaults (Javac).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbindingsToSourceOrder(org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding sourceBinding) com.google.common.collect.Ordering<Element> enclosedBy(Element element) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Function
equals
-
Constructor Details
-
EclipseCompilerOrderingProvider
private EclipseCompilerOrderingProvider()
-
-
Method Details
-
apply
-
enclosedBy
- Specified by:
enclosedByin interfaceSourceOrdering.OrderingProvider
-
bindingsToSourceOrder
-