diff --git a/java/src/processing/mode/java/tweak/SketchParser.java b/java/src/processing/mode/java/tweak/SketchParser.java index 71591f6d2..4f6eca38f 100644 --- a/java/src/processing/mode/java/tweak/SketchParser.java +++ b/java/src/processing/mode/java/tweak/SketchParser.java @@ -284,6 +284,7 @@ public class SketchParser { } } + private ArrayList findAllColorModes() { ArrayList modes = new ArrayList(); @@ -400,6 +401,7 @@ public class SketchParser { } } + private void createColorBoxesForLights() { // search code for light color and material color functions. Pattern p = Pattern.compile("ambientLight[\\(\\s]|directionalLight[\\(\\s]"+ @@ -539,7 +541,7 @@ public class SketchParser { } - public List> getAllScientificNotations() { + private List> getAllScientificNotations() { //ArrayList notations[] = new ArrayList[codeTabs.length]; List> notations = new ArrayList<>(); @@ -560,7 +562,7 @@ public class SketchParser { } - public static boolean containsTweakComment(String[] codeTabs) { + static public boolean containsTweakComment(String[] codeTabs) { for (String tab : codeTabs) { if (hasTweakComment(tab)) { return true; @@ -570,7 +572,7 @@ public class SketchParser { } - static public boolean lineHasTweakComment(int pos, String code) { + static private boolean lineHasTweakComment(int pos, String code) { int lineEnd = getEndOfLine(pos, code); if (lineEnd < 0) { return false; @@ -777,7 +779,7 @@ public class SketchParser { // } - class Range { + static class Range { int start; int end;