|
Revision 2649, 1.7 kB
(checked in by mspiegel, 3 weeks ago)
|
[warnings] Removed all unused imports in com.sun.fortress.interpreter.* and children packages.
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
package com.sun.fortress.interpreter.evaluator; |
|---|
| 19 |
|
|---|
| 20 |
import java.util.Set; |
|---|
| 21 |
|
|---|
| 22 |
import com.sun.fortress.interpreter.evaluator.types.FType; |
|---|
| 23 |
import com.sun.fortress.interpreter.evaluator.values.GenericMethod; |
|---|
| 24 |
import com.sun.fortress.interpreter.evaluator.values.MethodClosure; |
|---|
| 25 |
import com.sun.fortress.interpreter.evaluator.values.Simple_fcn; |
|---|
| 26 |
import com.sun.fortress.nodes_util.Applicable; |
|---|
| 27 |
import com.sun.fortress.nodes.FnAbsDeclOrDecl; |
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
public class BuildObjectEnvironment extends BuildTraitEnvironment { |
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
public BuildObjectEnvironment(Environment within, Environment methodEnvironment, FType definer, Set<String> fields) { |
|---|
| 34 |
super(within, methodEnvironment, definer, fields); |
|---|
| 35 |
|
|---|
| 36 |
} |
|---|
| 37 |
|
|---|
| 38 |
protected Simple_fcn newClosure(Environment e, Applicable x) { |
|---|
| 39 |
return new MethodClosure(containing,x, definer); |
|---|
| 40 |
} |
|---|
| 41 |
|
|---|
| 42 |
protected GenericMethod newGenericClosure(Environment e, FnAbsDeclOrDecl x) { |
|---|
| 43 |
return new GenericMethod(containing, e, x, definer, false); |
|---|
| 44 |
} |
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 |
} |
|---|