Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 11th, 2012  |  syntax: None  |  size: 3.18 KB  |  hits: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Type enum is not generic error cloning andengine
  2. package org.andengine.util.spatial.adt.bounds; //The error points at the beginning of this line.
  3. import org.andengine.util.exception.AndEngineException;
  4.  
  5. /**
  6.  * (c) Zynga 2011
  7.  *
  8.  * @author Nicolas Gramlich <ngramlich@zynga.com>
  9.  * @since 21:13:32 - 11.10.2011
  10.  */
  11.  public enum BoundsSplit {
  12. // ===========================================================
  13. // Elements
  14. // ===========================================================
  15.  
  16. TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT;
  17.  
  18. // ===========================================================
  19. // Constants
  20. // ===========================================================
  21.  
  22. // ===========================================================
  23. // Fields
  24. // ===========================================================
  25.  
  26. // ===========================================================
  27. // Constructors
  28. // ===========================================================
  29.  
  30. // ===========================================================
  31. // Getter & Setter
  32. // ===========================================================
  33.  
  34. // ===========================================================
  35. // Methods for/from SuperClass/Interfaces
  36. // ===========================================================
  37.  
  38. // ===========================================================
  39. // Methods
  40. // ===========================================================
  41.  
  42. // ===========================================================
  43. // Inner and Anonymous Classes
  44. // ===========================================================
  45.  
  46. public static class BoundsSplitException extends AndEngineException {
  47.     // ===========================================================
  48.     // Constants
  49.     // ===========================================================
  50.  
  51.     private static final long serialVersionUID = 7970869239897412727L;
  52.  
  53.     // ===========================================================
  54.     // Fields
  55.     // ===========================================================
  56.  
  57.     // ===========================================================
  58.     // Constructors
  59.     // ===========================================================
  60.  
  61.     // ===========================================================
  62.     // Getter & Setter
  63.     // ===========================================================
  64.  
  65.     // ===========================================================
  66.     // Methods for/from SuperClass/Interfaces
  67.     // ===========================================================
  68.  
  69.     // ===========================================================
  70.     // Methods
  71.     // ===========================================================
  72.  
  73.     // ===========================================================
  74.     // Inner and Anonymous Classes
  75.     // ===========================================================
  76. }
  77.        
  78. Multiple markers at this line
  79. - The type java.lang.Enum cannot be resolved. It is indirectly referenced from
  80.  required .class files
  81. - The type Enum is not generic; it cannot be parameterized with arguments
  82.  <BoundsSplit>
  83. - The type java.lang.Object cannot be resolved. It is indirectly referenced from
  84.  required .class files
  85. - The type java.lang.Enum cannot be resolved. It is indirectly referenced from
  86.  required .class files