JAL-1807
[jalview.git] / src / jalview / schemes / ResidueProperties.java
index 662a77e..d5c542c 100755 (executable)
@@ -29,10 +29,15 @@ import java.util.List;
 import java.util.Map;
 import java.util.Vector;
 
+import javajs.J2SRequireImport;
+
 import jalview.analysis.scoremodels.FeatureScoreModel;
 import jalview.analysis.scoremodels.PIDScoreModel;
 import jalview.api.analysis.ScoreModelI;
 
+// required because of the static defs
+
+@J2SRequireImport({ScoreMatrix.class, PIDScoreModel.class, FeatureScoreModel.class})
 public class ResidueProperties
 {
   public static Hashtable<String, ScoreModelI> scoreMatrices = new Hashtable();
@@ -869,6 +874,8 @@ public class ResidueProperties
     }
     // and programmatically add in the ambiguity codes that yield the same amino
     // acid
+    
+    
     String[] unambcodons = codonHash2.keySet().toArray(
             new String[codonHash2.size()]);
     for (String codon : unambcodons)
@@ -1739,6 +1746,12 @@ public class ResidueProperties
 
   // main method generates perl representation of residue property hash
   // / cut here
+  
+  /**
+   * @j2sIgnore
+   * 
+   * @param args
+   */
   public static void main(String[] args)
   {
     Hashtable aa = new Hashtable();