org.eclipse.cdt.internal.core.dom
Class NullCodeReaderFactory

java.lang.Object
  extended by org.eclipse.cdt.internal.core.dom.NullCodeReaderFactory
All Implemented Interfaces:
org.eclipse.cdt.core.dom.ICodeReaderFactory

public class NullCodeReaderFactory
extends java.lang.Object
implements org.eclipse.cdt.core.dom.ICodeReaderFactory

A ICodeReaderFactory which creates dummy CodeReaders without content.

Since:
4.0

Method Summary
 org.eclipse.cdt.core.parser.CodeReader createCodeReaderForInclusion(org.eclipse.cdt.core.dom.IMacroCollector scanner, java.lang.String path)
           
 org.eclipse.cdt.core.parser.CodeReader createCodeReaderForTranslationUnit(java.lang.String path)
           
 org.eclipse.cdt.core.parser.ICodeReaderCache getCodeReaderCache()
           
static org.eclipse.cdt.core.dom.ICodeReaderFactory getInstance()
           
 int getUniqueIdentifier()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static org.eclipse.cdt.core.dom.ICodeReaderFactory getInstance()

createCodeReaderForInclusion

public org.eclipse.cdt.core.parser.CodeReader createCodeReaderForInclusion(org.eclipse.cdt.core.dom.IMacroCollector scanner,
                                                                           java.lang.String path)
Specified by:
createCodeReaderForInclusion in interface org.eclipse.cdt.core.dom.ICodeReaderFactory

createCodeReaderForTranslationUnit

public org.eclipse.cdt.core.parser.CodeReader createCodeReaderForTranslationUnit(java.lang.String path)
Specified by:
createCodeReaderForTranslationUnit in interface org.eclipse.cdt.core.dom.ICodeReaderFactory

getCodeReaderCache

public org.eclipse.cdt.core.parser.ICodeReaderCache getCodeReaderCache()
Specified by:
getCodeReaderCache in interface org.eclipse.cdt.core.dom.ICodeReaderFactory

getUniqueIdentifier

public int getUniqueIdentifier()
Specified by:
getUniqueIdentifier in interface org.eclipse.cdt.core.dom.ICodeReaderFactory