예제 #1
0
 @Override
 public int hashCode() {
   return ((((super.hashCode() ^ (_name == null ? 0 : _name.hashCode()))
               ^ java.util.Arrays.hashCode(_namespace))
           ^ _superclassPath.hashCode())
       ^ _properties.hashCode());
 }
예제 #2
0
 @Test
 public void testParseSymbol2() {
   final SymbolLiteralNode _node;
   _node = ((SymbolLiteralNode) Parser.factory.source_("#foo").parseExpression());
   assertTrue(
       st.gravel.support.jvm.ObjectExtensions.equals_(_node.factory(), SymbolLiteralNode.factory));
   assertTrue(
       st.gravel.support.jvm.ObjectExtensions.equals_(
           _node.value(), st.gravel.core.Symbol.value("foo")));
 }
예제 #3
0
 @Override
 public st.gravel.core.Symbol packageName() {
   final st.gravel.core.Symbol _sp;
   final String _pnString;
   _sp = super.packageName();
   if (_sp != null) {
     return _sp;
   }
   String _temp1 = _properties.get("packageName");
   _pnString = ((String) _temp1);
   if (_pnString == null) {
     return null;
   }
   return st.gravel.core.Symbol.value(_pnString);
 }