org.eclipse.xtext.generator.trace
Class ITraceInformation.Null

java.lang.Object
  extended by org.eclipse.xtext.generator.trace.ITraceInformation.Null
All Implemented Interfaces:
ITraceInformation
Enclosing interface:
ITraceInformation

public static class ITraceInformation.Null
extends java.lang.Object
implements ITraceInformation


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.generator.trace.ITraceInformation
ITraceInformation.Null
 
Constructor Summary
ITraceInformation.Null()
           
 
Method Summary
 ITrace getTraceToSource(org.eclipse.core.resources.IStorage derivedResource)
          Returns the trace information to the sources that were used as input for the given derived resource.
 ITrace getTraceToTarget(org.eclipse.core.resources.IStorage sourceResource)
          Returns the trace information to the targets that were generated from the given source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ITraceInformation.Null

public ITraceInformation.Null()
Method Detail

getTraceToSource

@Nullable
public ITrace getTraceToSource(org.eclipse.core.resources.IStorage derivedResource)
Description copied from interface: ITraceInformation
Returns the trace information to the sources that were used as input for the given derived resource. May return null if no such data is available for the given storage.

Specified by:
getTraceToSource in interface ITraceInformation
Parameters:
derivedResource - the resource whose source trace is requested. May not be null.
Returns:
the trace to the source or null.

getTraceToTarget

@Nullable
public ITrace getTraceToTarget(org.eclipse.core.resources.IStorage sourceResource)
Description copied from interface: ITraceInformation
Returns the trace information to the targets that were generated from the given source. May return null if no such data is available for the given storage.

Specified by:
getTraceToTarget in interface ITraceInformation
Parameters:
sourceResource - the resource whose target trace is requested. May not be null.
Returns:
the trace to the generation targets or null.