Skip to content

Instantly share code, notes, and snippets.

@olafurpg
Last active November 29, 2017 09:20
Show Gist options
  • Save olafurpg/be9d01afab4e2e54e51be620279507aa to your computer and use it in GitHub Desktop.
Save olafurpg/be9d01afab4e2e54e51be620279507aa to your computer and use it in GitHub Desktop.
Usage of def macros in the Scala community build

Test

      8969: _root_.org.scalatest.Assertions#assert(ZLorg/scalactic/Prettifier;Lorg/scalactic/source/Position;)Lorg/scalatest/compatible/Assertion;.
      7070: _root_.org.scalactic.source.Position.here()Lorg/scalactic/source/Position;.
      1263: _root_.minitest.api.Asserts#assertEquals(Ljava/lang/Object;Ljava/lang/Object;)V.
       386: _root_.utest.asserts.Asserts#assert(Lscala/collection/Seq;)V.
       271: _root_.minitest.api.Asserts#assert(Z)V.
       270: _root_.org.scalatest.Assertions#assert(ZLjava/lang/Object;Lorg/scalactic/Prettifier;Lorg/scalactic/source/Position;)Lorg/scalatest/compatible/Assertion;.
       265: _root_.org.specs2.specification.create.S2StringContextCreation#specificationInStringContext#s2(Lscala/collection/Seq;)Lorg/specs2/specification/core/Fragments;.
       264: _root_.minitest.api.Asserts#assert(ZLjava/lang/String;)V.
       217: _root_.scodec.bits.package.HexStringSyntax#hex(Lscala/collection/Seq;)Lscodec/bits/ByteVector;.
       206: _root_.records.Rec.applyDynamic(Ljava/lang/String;Lscala/collection/Seq;)Lrecords/Rec;.
       179: _root_.spire.syntax.EqOps#`===`(Ljava/lang/Object;Lscala/Predef/$eq$colon$eq;)Z.
       143: _root_.org.parboiled2.Parser#rule(Lorg/parboiled2/Rule;)Lorg/parboiled2/Rule;.
       135: _root_.spire.syntax.Literals#r()Lspire/math/Rational;.
       115: _root_.scala.async.internal.AsyncId.async(Lscala/Function0;)Ljava/lang/Object;.
        93: _root_.spire.syntax.Literals#b()B.
        86: _root_.org.scalatest.Matchers#AnyShouldWrapper#shouldBe(Lorg/scalatest/words/ResultOfATypeInvocation;)Lorg/scalatest/compatible/Assertion;.
        68: _root_.scala.async.Async.async(Lscala/Function0;Lscala/concurrent/ExecutionContext;)Lscala/concurrent/Future;.
        65: _root_.slick.collection.heterogeneous.HList#apply(I)Ljava/lang/Object;.
        55: _root_.scala.StringContext#f(Lscala/collection/Seq;)Ljava/lang/String;.
        48: _root_.utest.asserts.Asserts#intercept(Lscala/runtime/BoxedUnit;Lscala/reflect/ClassTag;)Ljava/lang/Object;.
        46: _root_.com.twitter.scalding.serialization.macros.LowerPriorityImplicit#primitiveOrderedBufferSupplier()Lcom/twitter/scalding/serialization/OrderedSerialization;.
        43: _root_.minitest.api.Asserts#intercept(Lscala/Function0;)V.
        43: _root_.org.scalatest.Matchers#StringShouldWrapper#shouldNot(Lorg/scalatest/words/CompileWord;Lorg/scalactic/source/Position;)Lorg/scalatest/compatible/Assertion;.
        39: _root_.org.specs2.specification.create.AutoExamples#eg(Lscala/Function0;Lorg/specs2/execute/AsResult;)Lorg/specs2/specification/core/Fragments;.
        37: _root_.records.Rec.fld(Lrecords/Rec;)Ljava/lang/Object;.
        36: _root_.play.api.libs.json.Json.format()Lplay/api/libs/json/OFormat;.
        33: _root_.spire.syntax.Literals#h()S.
        33: _root_.scodec.bits.package.BinStringSyntax#bin(Lscala/collection/Seq;)Lscodec/bits/BitVector;.
        31: _root_.play.api.libs.json.Json.reads()Lplay/api/libs/json/Reads;.
        27: _root_.play.api.libs.json.Json.writes()Lplay/api/libs/json/OWrites;.
        26: _root_.scala.reflect.internal.traversal.OptimizingTraversal#optimize(Lscala/PartialFunction;)Lscala/PartialFunction;.
        25: _root_.scala.async.internal.AsyncTestLV.async(Ljava/lang/Object;)Ljava/lang/Object;.
        22: _root_.spire.syntax.CforSyntax#cfor(Ljava/lang/Object;Lscala/Function1;Lscala/Function1;Lscala/Function1;)V.
        21: _root_.spire.macros.Checked.checked(Ljava/lang/Object;)Ljava/lang/Object;.
        21: _root_.com.twitter.scalding.parquet.tuple.macros.Macros.caseClassParquetSchema()Ljava/lang/String;.
        20: _root_.slick.jdbc.ActionBasedSQLInterpolation#tsql(Lscala/collection/Seq;)Lslick/sql/SqlStreamingAction;.
        19: _root_.records.test.Typecheck.typedWithMsg(Ljava/lang/String;Ljava/lang/String;)V.
        19: _root_.monix.execution.schedulers.ExecuteExtensions#executeAsync(Lscala/Function0;)V.
        19: _root_.monix.execution.schedulers.ExecuteExtensions#executeTrampolined(Lscala/Function0;)V.
        18: _root_.utest.asserts.Asserts#compileError(Ljava/lang/String;)Lutest/CompileError;.
        17: _root_.slick.jdbc.ActionBasedSQLInterpolation#sql(Lscala/collection/Seq;)Lslick/jdbc/SQLActionBuilder;.
        17: _root_.spire.util.Pack.longToByte(JI)B.
        17: _root_.org.log4s.package.getLogger()Lorg/slf4j/Logger;.
        16: _root_.catalysts.testkit.TestSpec#`assert_==`(Lscala/Function0;Lscala/Function0;)Ljava/lang/Object;.
        16: _root_.org.parboiled2.Rule.Runnable#run(Lorg/parboiled2/Parser/DeliveryScheme;)Ljava/lang/Object;.
        16: _root_.org.specs2.execute.Typecheck.typecheck(Ljava/lang/String;)Lorg/specs2/execute/Typechecked;.
        13: _root_.com.twitter.scalding.db.macros.DBMacro.toDBTypeDescriptor()Lcom/twitter/scalding/db/DBTypeDescriptor;.
        13: _root_.records.Rec.applyDynamicNamed(Ljava/lang/String;Lscala/collection/Seq;)Lrecords/Rec;.
        12: _root_.shapeless.Witness.selectDynamic(Ljava/lang/String;)Ljava/lang/Object;.
        11: _root_.monix.execution.atomic.Atomic#transform(Lscala/Function1;)V.
        11: _root_.records.Rec.Ops#to()Ljava/lang/Object;.
        10: _root_.monix.execution.Ack.AckExtensions#isSynchronous()Z.
        10: _root_.scala.reflect.api.Universe#reify(Ljava/lang/Object;)Lscala/reflect/api/Exprs/Expr;.
        10: _root_.com.typesafe.scalalogging.Logger#error(Ljava/lang/String;)V.
        10: _root_.monix.execution.atomic.Atomic#getAndTransform(Lscala/Function1;)Ljava/lang/Object;.
        10: _root_.com.twitter.scalding.macros.Macros.caseClassTupleConverter()Lcom/twitter/scalding/TupleConverter;.
        10: _root_.spire.syntax.MultiplicativeSemigroupOps#`*`(Ljava/lang/Object;)Ljava/lang/Object;.
        10: _root_.monix.execution.atomic.Atomic#transformAndGet(Lscala/Function1;)Ljava/lang/Object;.
        10: _root_.monix.execution.Ack.AckExtensions#syncOnContinue(Lscala/Function0;Lmonix/execution/Scheduler;)Lscala/concurrent/Future;.
         9: _root_.com.twitter.scalding.thrift.macros.PlatformTest#toScroogeInternalOrderedSerialization()Lcom/twitter/scalding/serialization/OrderedSerialization;.
         9: _root_.com.typesafe.scalalogging.Logger#error(Ljava/lang/String;Lscala/collection/Seq;)V.
         9: _root_.utest.asserts.Asserts#assertMatch(Ljava/lang/Object;Lscala/PartialFunction;)V.
         9: _root_.monix.execution.atomic.Atomic#transformAndExtract(Lscala/Function1;)Ljava/lang/Object;.
         9: _root_.spire.syntax.SignedOps#signum()I.
         9: _root_.spire.util.Pack.intToByte(II)B.
         9: _root_.akka.parboiled2.Parser#rule(Lakka/parboiled2/Rule;)Lakka/parboiled2/Rule;.
         9: _root_.org.scalatest.Matchers#AnyShouldWrapper#shouldBe(Lorg/scalatest/words/ResultOfAnTypeInvocation;)Lorg/scalatest/compatible/Assertion;.
         9: _root_.argonaut.DecodeJson.derive()Largonaut/DecodeJson;.
         8: _root_.minitest.api.Asserts#fail(Ljava/lang/String;)V.
         8: _root_.monix.execution.misc.test.TestBox#map(Lscala/Function1;)Lmonix/execution/misc/test/TestBox;.
         8: _root_.spire.syntax.AdditiveGroupOps#`-`(Ljava/lang/Object;)Ljava/lang/Object;.
         8: _root_.monix.execution.Ack.AckExtensions#syncOnStopOrFailure(Lscala/Function0;Lmonix/execution/Scheduler;)Lscala/concurrent/Future;.
         8: _root_.com.twitter.scalding.macros.Macros.caseClassTupleSetter()Lcom/twitter/scalding/TupleSetter;.
         8: _root_.spire.syntax.PartialOrderOps#`<`(Ljava/lang/Object;)Z.
         8: _root_.spire.math.FpFilter#signum(Lspire/algebra/Signed;)I.
         8: _root_.monocle.macros.GenIso.unit()Lmonocle/PIso;.
         8: _root_.monix.execution.Ack.AckExtensions#syncOnComplete(Lscala/Function1;Lmonix/execution/Scheduler;)V.
         7: _root_.scala.reflect.runtime.package.currentMirror()Lscala/reflect/api/JavaUniverse/JavaMirror;.
         7: _root_.com.typesafe.scalalogging.Logger#trace(Ljava/lang/String;)V.
         7: _root_.argonaut.EncodeJson.derive()Largonaut/EncodeJson;.
         7: _root_.monix.execution.Ack.AckExtensions#syncFlatMap(Lscala/Function1;Lmonix/execution/Scheduler;)Lscala/concurrent/Future;.
         7: _root_.spire.math.FpFilterExact#sqrt(Lspire/algebra/NRoot;)Lspire/math/FpFilter;.
         7: _root_.spire.syntax.AdditiveGroupOps#`unary_-`()Ljava/lang/Object;.
         7: _root_.monix.execution.Ack.AckExtensions#syncMap(Lscala/Function1;Lmonix/execution/Scheduler;)Lscala/concurrent/Future;.
         7: _root_.spire.syntax.AdditiveSemigroupOps#`+`(Ljava/lang/Object;)Ljava/lang/Object;.
         7: _root_.argonaut.CodecJson.derive()Largonaut/CodecJson;.
         7: _root_.spire.syntax.EqOps#`=!=`(Ljava/lang/Object;Lscala/Predef/$eq$colon$eq;)Z.
         6: _root_.com.typesafe.scalalogging.Logger#warn(Lorg/slf4j/Marker;Ljava/lang/String;Lscala/collection/Seq;)V.
         6: _root_.com.typesafe.scalalogging.Logger#error(Lorg/slf4j/Marker;Ljava/lang/String;Lscala/collection/Seq;)V.
         6: _root_.com.typesafe.scalalogging.Logger#warn(Ljava/lang/String;Lscala/collection/Seq;)V.
         6: _root_.org.specs2.execute.Snippets#snippet(Lscala/Function0;Lorg/specs2/execute/SnippetParams;)Lorg/specs2/execute/Snippet;.
         6: _root_.com.typesafe.scalalogging.Logger#trace(Lorg/slf4j/Marker;Ljava/lang/String;Lscala/collection/Seq;)V.
         6: _root_.spire.syntax.CforSyntax#cforRange(Lscala/collection/immutable/Range;Lscala/Function1;)V.
         6: _root_.spire.syntax.SignedOps#abs()Ljava/lang/Object;.
         6: _root_.com.typesafe.scalalogging.Logger#info(Lorg/slf4j/Marker;Ljava/lang/String;Lscala/collection/Seq;)V.
         6: _root_.com.typesafe.scalalogging.Logger#trace(Ljava/lang/String;Lscala/collection/Seq;)V.
         6: _root_.com.twitter.scalding.parquet.tuple.macros.Macros.caseClassParquetWriteSupport()Lcom/twitter/scalding/parquet/tuple/scheme/ParquetWriteSupport;.
         6: _root_.com.twitter.scalding.macros.Macros.caseClassTypeDescriptor()Lcom/twitter/scalding/TypeDescriptor;.
         6: _root_.monocle.macros.GenIso.fields()Lmonocle/PIso;.
         6: _root_.com.typesafe.scalalogging.Logger#debug(Lorg/slf4j/Marker;Ljava/lang/String;Lscala/collection/Seq;)V.
         6: _root_.com.typesafe.scalalogging.Logger#info(Ljava/lang/String;Lscala/collection/Seq;)V.
         6: _root_.com.typesafe.scalalogging.Logger#debug(Ljava/lang/String;Lscala/collection/Seq;)V.
         6: _root_.spire.syntax.PartialOrderOps#partialCompare(Ljava/lang/Object;)D.

Main

       442: _root_.org.scalactic.source.Position.here()Lorg/scalactic/source/Position;.
       345: _root_.org.parboiled2.Parser#rule(Lorg/parboiled2/Rule;)Lorg/parboiled2/Rule;.
       287: _root_.akka.parboiled2.Parser#rule(Lakka/parboiled2/Rule;)Lakka/parboiled2/Rule;.
       242: _root_.spire.syntax.CforSyntax#cfor(Ljava/lang/Object;Lscala/Function1;Lscala/Function1;Lscala/Function1;)V.
       173: _root_.spire.syntax.EqOps#`===`(Ljava/lang/Object;Lscala/Predef/$eq$colon$eq;)Z.
       170: _root_.slick.util.MacroSupportInterpolation#b(Lscala/collection/Seq;)V.
       156: _root_.reactivemongo.bson.Macros.handler()Lreactivemongo/bson/BSONDocumentReader;.
       149: _root_.spire.syntax.CforSyntax#cforRange(Lscala/collection/immutable/Range;Lscala/Function1;)V.
       141: _root_.spire.syntax.MultiplicativeSemigroupOps#`*`(Ljava/lang/Object;)Ljava/lang/Object;.
       128: _root_.spire.syntax.AdditiveSemigroupOps#`+`(Ljava/lang/Object;)Ljava/lang/Object;.
       123: _root_.scalaxy.debug.package.require(ZLjava/lang/String;)V.
       108: _root_.play.api.libs.json.Json.format()Lplay/api/libs/json/OFormat;.
       103: _root_.scala.StringContext#f(Lscala/collection/Seq;)Ljava/lang/String;.
       102: _root_.play.api.libs.json.Json.writes()Lplay/api/libs/json/Writes;.
        97: _root_.scala.reflect.api.Universe#reify(Ljava/lang/Object;)Lscala/reflect/api/Exprs/Expr;.
        71: _root_.play.api.libs.json.Json.reads()Lplay/api/libs/json/Reads;.
        56: _root_.spire.syntax.MultiplicativeGroupOps#`/`(Ljava/lang/Object;)Ljava/lang/Object;.
        49: _root_.spire.syntax.AdditiveGroupOps#`unary_-`()Ljava/lang/Object;.
        46: _root_.org.log4s.Logger#error(Ljava/lang/Throwable;Ljava/lang/String;)V.
        41: _root_.spire.syntax.AdditiveGroupOps#`-`(Ljava/lang/Object;)Ljava/lang/Object;.
        36: _root_.spire.syntax.OrderOps#compare(Ljava/lang/Object;)I.
        31: _root_.com.typesafe.scalalogging.Logger#info(Ljava/lang/String;)V.
        31: _root_.spire.syntax.PartialOrderOps#`<`(Ljava/lang/Object;)Z.
        30: _root_.spire.syntax.PartialOrderOps#`<=`(Ljava/lang/Object;)Z.
        30: _root_.scalaxy.debug.package.require(Z)V.
        28: _root_.spire.syntax.ModuleOps#`*:`(Ljava/lang/Object;Lspire/algebra/Module;)Ljava/lang/Object;.
        26: _root_.spire.syntax.SemiringOps#pow(I)Ljava/lang/Object;.
        25: _root_.spire.syntax.NRootOps#sqrt()Ljava/lang/Object;.
        24: _root_.play.api.libs.json.Json.format()Lplay/api/libs/json/Format;.
        22: _root_.org.log4s.Logger#debug(Ljava/lang/String;)V.
        22: _root_.scala.reflect.internal.traversal.OptimizingTraversal#optimize(Lscala/PartialFunction;)Lscala/PartialFunction;.
        22: _root_.cats.syntax.EqOps#`===`(Ljava/lang/Object;)Z.
        22: _root_.spire.syntax.SignedOps#sign()Lspire/algebra/Sign;.
        22: _root_.spire.syntax.EqOps#`=!=`(Ljava/lang/Object;Lscala/Predef/$eq$colon$eq;)Z.
        22: _root_.monix.execution.Ack.AckExtensions#syncOnContinue(Lscala/Function0;Lmonix/execution/Scheduler;)Lscala/concurrent/Future;.
        21: _root_.slick.jdbc.ActionBasedSQLInterpolation#sqlu(Lscala/collection/Seq;)Lslick/sql/SqlAction;.
        20: _root_.org.log4s.Logger#info(Ljava/lang/String;)V.
        20: _root_.spire.syntax.PartialOrderOps#`>`(Ljava/lang/Object;)Z.
        19: _root_.org.scalatest.Assertions#assert(ZLorg/scalactic/Prettifier;Lorg/scalactic/source/Position;)Lorg/scalatest/compatible/Assertion;.
        19: _root_.spire.macros.Checked.checked(Ljava/lang/Object;)Ljava/lang/Object;.
        18: _root_.monix.execution.Ack.AckExtensions#syncOnStopOrFailure(Lscala/Function0;Lmonix/execution/Scheduler;)Lscala/concurrent/Future;.
        17: _root_.spire.syntax.MultiplicativeGroupOps#reciprocal()Ljava/lang/Object;.
        17: _root_.spire.syntax.PartialOrderOps#`>=`(Ljava/lang/Object;)Z.
        16: _root_.spire.syntax.NRootOps#nroot(I)Ljava/lang/Object;.
        16: _root_.org.log4s.Logger#trace(Ljava/lang/String;)V.
        15: _root_.slick.lifted.ShapedValue#mapTo(Lscala/reflect/ClassTag;)Lslick/lifted/MappedProjection;.
        15: _root_.org.log4s.package.getLogger()Lorg/slf4j/Logger;.
        15: _root_.spire.syntax.SemigroupoidOps#`|+|?`(Ljava/lang/Object;)Ljava/lang/Object;.
        15: _root_.spire.syntax.SemigroupOps#`|+|`(Ljava/lang/Object;)Ljava/lang/Object;.
        14: _root_.spire.syntax.SignedOps#signum()I.
        13: _root_.monix.execution.schedulers.ExecuteExtensions#executeTrampolined(Lscala/Function0;)V.
        13: _root_.spire.syntax.SignedOps#isSignZero()Z.
        13: _root_.spire.macros.Checked.tryOrReturn(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;.
        12: _root_.slick.jdbc.ActionBasedSQLInterpolation#sql(Lscala/collection/Seq;)Lslick/jdbc/SQLActionBuilder;.
        12: _root_.org.log4s.Logger#warn(Ljava/lang/String;)V.
        12: _root_.spire.syntax.SemigroupoidOps#`|+|??`(Ljava/lang/Object;)Z.
        12: _root_.spire.syntax.HeytingOps#`|`(Ljava/lang/Object;)Ljava/lang/Object;.
        11: _root_.spire.syntax.LeftPartialActionOps#`?|+|>`(Ljava/lang/Object;Lspire/algebra/partial/LeftPartialAction;)Ljava/lang/Object;.
        11: _root_.monix.execution.atomic.Atomic.withPadding(Ljava/lang/Object;Lmonix/execution/atomic/PaddingStrategy;Lmonix/execution/atomic/AtomicBuilder;)Lmonix/execution/atomic/Atomic;.
        11: _root_.spire.syntax.MultiplicativeGroupOps#`/`(ILalgebra/ring/Ring;)Ljava/lang/Object;.
        11: _root_.spire.syntax.RightPartialActionOps#`<|+|?`(Ljava/lang/Object;Lspire/algebra/partial/RightPartialAction;)Ljava/lang/Object;.
        11: _root_.com.twitter.bijection.macros.Macros.fastAttempt(Ljava/lang/Object;Ljava/lang/Object;)Lscala/util/Try;.
        10: _root_.scalaxy.debug.package.assert(Z)V.
        10: _root_.akka.parboiled2.Rule.Runnable#run(Lakka/parboiled2/Parser/DeliveryScheme;)Ljava/lang/Object;.
        10: _root_.spire.syntax.SemiringOps#`**`(I)Ljava/lang/Object;.
        10: _root_.spire.syntax.HeytingOps#`&`(Ljava/lang/Object;)Ljava/lang/Object;.
        10: _root_.spire.syntax.HeytingOps#imp(Ljava/lang/Object;)Ljava/lang/Object;.
         9: _root_.spire.syntax.IsRealOps#floor()Ljava/lang/Object;.
         9: _root_.spire.syntax.LeftPartialActionOps#`??|+|>`(Ljava/lang/Object;Lspire/algebra/partial/LeftPartialAction;)Z.
         8: _root_.spire.syntax.IsRealOps#ceil()Ljava/lang/Object;.
         8: _root_.spire.syntax.IsRealOps#round()Ljava/lang/Object;.
         8: _root_.monix.execution.Ack.AckExtensions#syncFlatMap(Lscala/Function1;Lmonix/execution/Scheduler;)Lscala/concurrent/Future;.
         8: _root_.org.parboiled2.Rule.Runnable#run(Lorg/parboiled2/Parser/DeliveryScheme;)Ljava/lang/Object;.
         8: _root_.spire.syntax.RightPartialActionOps#`<|+|??`(Ljava/lang/Object;Lspire/algebra/partial/RightPartialAction;)Z.
         7: _root_.org.log4s.Logger#warn(Ljava/lang/Throwable;Ljava/lang/String;)V.
         7: _root_.reactivemongo.bson.Macros.reader()Lreactivemongo/bson/BSONDocumentReader;.
         7: _root_.org.log4s.Logger#debug(Ljava/lang/Throwable;Ljava/lang/String;)V.
         6: _root_.scala.reflect.runtime.package.currentMirror()Lscala/reflect/api/JavaUniverse/JavaMirror;.
         6: _root_.com.typesafe.scalalogging.Logger#warn(Ljava/lang/String;Ljava/lang/Throwable;)V.
         6: _root_.spire.syntax.SignedOps#abs()Ljava/lang/Object;.
         6: _root_.spire.syntax.HeytingOps#`unary_~`()Ljava/lang/Object;.
         6: _root_.scodec.bits.package.HexStringSyntax#hex(Lscala/collection/Seq;)Lscodec/bits/ByteVector;.
         6: _root_.com.typesafe.scalalogging.Logger#warn(Ljava/lang/String;)V.
         6: _root_.monocle.macros.GenIso.fields()Lmonocle/PIso;.
         6: _root_.play.api.libs.json.Json.writes()Lplay/api/libs/json/OWrites;.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment