Compiler Report

Compiler: Eclipse Java Compiler Version: 0.770, 3.3.0

Number of source files: 148 Number of classfiles: 184

Problems: 40 (Errors: 0 Warnings: 40 )

Source File: org/ecipse/dltk/javascript/internal/representation/ScriptEnvironment.java
1. WARNING: UnusedPrivateField

The field ScriptEnvironment.map is never read locally

ScriptEnvironment.java:

18: private HashMap map = new HashMap();

Source File: org/eclipse/dltk/internal/javascript/parser/JavaScriptSourceParser.java
1. WARNING: LocalVariableIsNeverUsed

The local variable parameterNames is never read

JavaScriptSourceParser.java:

222: String[] parameterNames = params;

Source File: org/eclipse/dltk/internal/javascript/parser/Test.java
1. WARNING: LocalVariableIsNeverUsed

The local variable parse is never read

Test.java:

18: ModuleDeclaration parse = sp.parse(null, "function main(){}".toCharArray(), null);

Source File: org/eclipse/dltk/internal/javascript/parser/visitors/JavaScriptSourceElementRequestor.java
1. WARNING: UnusedPrivateMethod

The method addVariableReference(Expression, Expression, boolean, boolean) from the type JavaScriptSourceElementRequestor is never used locally

JavaScriptSourceElementRequestor.java:

131: private void addVariableReference(Expression left, Expression right, boolean inClass, boolean inMethod) {

Source File: org/eclipse/dltk/internal/javascript/reference/resolvers/SourceBasedResolver.java
1. WARNING: NonStaticAccessToStaticMethod

The static method getRawInstance() from the type JavaScriptMixinModel should be accessed in a static way

SourceBasedResolver.java:

179: IMixinElement mixinElement = m.getRawInstance()

Source File: org/eclipse/dltk/internal/javascript/typeinference/NodeSwitch.java
1. WARNING: LocalVariableIsNeverUsed

The local variable nm is never read

NodeSwitch.java:

534: Node nm = node.getFirstChild();

2. WARNING: LocalVariableIsNeverUsed

The local variable q is never read

NodeSwitch.java:

637: int q = jm.getFirstChild().getType();

Source File: org/eclipse/dltk/internal/javascript/typeinference/TypeInferencer.java
1. WARNING: LocalVariableIsNeverUsed

The local variable objId is never read

TypeInferencer.java:

164: String objId = getObjId(firstChild.getNext());

Source File: org/eclipse/dltk/javascript/internal/core/codeassist/JavaScriptCalleeProcessor.java
1. WARNING: MaskedCatch

Unreachable catch block for CoreException. Only more specific exceptions are thrown and handled by previous catch block(s).

JavaScriptCalleeProcessor.java:

190: } catch (CoreException e) {

Source File: org/eclipse/dltk/javascript/internal/core/codeassist/completion/JavaScriptCompletionEngine.java
1. WARNING: NonStaticAccessToStaticMethod

The static method getRawInstance() from the type JavaScriptMixinModel should be accessed in a static way

JavaScriptCompletionEngine.java:

166: IMixinElement mixinElement = instance.getRawInstance().get(

Source File: org/eclipse/dltk/javascript/internal/core/codeassist/selection/JavaScriptSelectionEngine.java
1. WARNING: LocalVariableIsNeverUsed

The local variable core is never read

JavaScriptSelectionEngine.java:

122: String core = calc.getCorePart();

2. WARNING: LocalVariableIsNeverUsed

The local variable mr is never read

JavaScriptSelectionEngine.java:

205: FieldReferenceMatch mr = (FieldReferenceMatch) match;

Source File: com/xored/org/mozilla/javascript/Arguments.java
1. WARNING: UnusedLabel

The label L0 is never explicitly referenced

Arguments.java:

188: L0: { id = 0; String X = null; int c;

Source File: com/xored/org/mozilla/javascript/BaseFunction.java
1. WARNING: UnusedLabel

The label L0 is never explicitly referenced

BaseFunction.java:

120: L0: { id = 0; String X = null; int c;

2. WARNING: UnusedLabel

The label L0 is never explicitly referenced

BaseFunction.java:

500: L0: { id = 0; String X = null; int c;

Source File: com/xored/org/mozilla/javascript/DToA.java
1. WARNING: LocalVariableIsNeverUsed

The local variable q is never read

DToA.java:

308: int q;

2. WARNING: LocalVariableIsNeverUsed

The local variable q is never read

DToA.java:

1194: int q;

Source File: com/xored/org/mozilla/javascript/IRFactory.java
1. WARNING: LocalVariableIsNeverUsed

The local variable name is never read

IRFactory.java:

519: String name;

Source File: com/xored/org/mozilla/javascript/IdScriptableObject.java
1. WARNING: UnusedPrivateField

The field IdScriptableObject.PrototypeValues.tag is never read locally

IdScriptableObject.java:

79: private Object tag;

Source File: com/xored/org/mozilla/javascript/ImporterTopLevel.java
1. WARNING: UnusedLabel

The label L0 is never explicitly referenced

ImporterTopLevel.java:

293: L0: { id = 0; String X = null; int c;

Source File: com/xored/org/mozilla/javascript/InterfaceAdapter.java
1. WARNING: LocalVariableIsNeverUsed

The local variable methodName is never read

InterfaceAdapter.java:

135: String methodName = method.getName();

Source File: com/xored/org/mozilla/javascript/Interpreter.java
1. WARNING: LocalVariableIsNeverUsed

The local variable idata is never read

Interpreter.java:

470: InterpreterData idata = (InterpreterData)bytecode;

2. WARNING: LocalVariableIsNeverUsed

The local variable idata is never read

Interpreter.java:

479: InterpreterData idata = (InterpreterData)bytecode;

3. WARNING: LocalVariableIsNeverUsed

The local variable switchNode is never read

Interpreter.java:

692: Node switchNode = (Node.Jump)node;

Source File: com/xored/org/mozilla/javascript/NativeArray.java
1. WARNING: LocalVariableIsNeverUsed

The local variable result is never read

NativeArray.java:

953: Object result;

Source File: com/xored/org/mozilla/javascript/NativeBoolean.java
1. WARNING: UnusedLabel

The label L0 is never explicitly referenced

NativeBoolean.java:

136: L0: { id = 0; String X = null; int c;

Source File: com/xored/org/mozilla/javascript/NativeDate.java
1. WARNING: UnusedPrivateMethod

The method InLeapYear(double) from the type NativeDate is never used locally

NativeDate.java:

445: private static boolean InLeapYear(double t)

2. WARNING: UnusedLabel

The label L0 is never explicitly referenced

NativeDate.java:

1447: L0: { id = 0; String X = null; int c;

Source File: com/xored/org/mozilla/javascript/NativeError.java
1. WARNING: UnusedLabel

The label L0 is never explicitly referenced

NativeError.java:

192: L0: { id = 0; String X = null; int c;

Source File: com/xored/org/mozilla/javascript/NativeJavaClass.java
1. WARNING: LocalVariableIsNeverUsed

The local variable classObject is never read

NativeJavaClass.java:

216: Class classObject = ctor.getDeclaringClass();

Source File: com/xored/org/mozilla/javascript/NativeNumber.java
1. WARNING: UnusedLabel

The label L0 is never explicitly referenced

NativeNumber.java:

206: L0: { id = 0; String X = null; int c;

Source File: com/xored/org/mozilla/javascript/NativeObject.java
1. WARNING: UnusedLabel

The label L0 is never explicitly referenced

NativeObject.java:

198: L0: { id = 0; String X = null; int c;

Source File: com/xored/org/mozilla/javascript/NativeScript.java
1. WARNING: UnusedLabel

The label L0 is never explicitly referenced

NativeScript.java:

196: L0: { id = 0; String X = null;

Source File: com/xored/org/mozilla/javascript/Parser.java
1. WARNING: UnusedPrivateField

The field Parser.hiddenPosition is never read locally

Parser.java:

319: private int hiddenPosition;

2. WARNING: LocalVariableIsNeverUsed

The local variable sourceStartOffset is never read

Parser.java:

327: int sourceStartOffset = decompiler.getCurrentOffset();

3. WARNING: LocalVariableIsNeverUsed

The local variable source is never read

Parser.java:

514: String source;

4. WARNING: LocalVariableIsNeverUsed

The local variable pos is never read

Parser.java:

1264: int pos=ts.getCursor();

Source File: com/xored/org/mozilla/javascript/TokenStream.java
1. WARNING: UnusedPrivateField

The field TokenStream.line is never read locally

TokenStream.java:

1563: private String line;

2. WARNING: UnusedPrivateField

The field TokenStream.fromEval is never read locally

TokenStream.java:

1564: private boolean fromEval;

Source File: com/xored/org/mozilla/javascript/continuations/Continuation.java
1. WARNING: UnusedLabel

The label L0 is never explicitly referenced

Continuation.java:

127: L0: { id = 0; String X = null;