All Downloads are FREE. Search and download functionalities are using the official Maven repository.

clojure.reflect$fn__12758.class Maven / Gradle / Ivy

The newest version!
????1hclojure/reflect$fn__12758clojure/lang/AFunctionreflect.clj()V
invokeStatic()Ljava/lang/Object;const__2Lclojure/lang/Var;
	clojure/core$deref&(Ljava/lang/Object;)Ljava/lang/Object;

const__3
	clojure/lang/Var
getRawRoot
java/lang/Objectconst__4Lclojure/lang/AFn; 	!clojure/lang/ArraySeq#create,([Ljava/lang/Object;)Lclojure/lang/ArraySeq;%&
$'clojure/core$commute)K(Ljava/lang/Object;Ljava/lang/Object;Lclojure/lang/ISeq;)Ljava/lang/Object;
+
*,invoke

/clojure.core2
*loaded-libs*4clojure/lang/RT6var8(Ljava/lang/String;Ljava/lang/String;)Lclojure/lang/Var;89
7:conj<clojure.reflect>clojure/lang/Symbol@intern;(Ljava/lang/String;Ljava/lang/String;)Lclojure/lang/Symbol;BC
ADclojure/lang/IObjFauthorHkeyword<(Ljava/lang/String;Ljava/lang/String;)Lclojure/lang/Keyword;JK
7LStuart HallowayNaddedP1.3RdocTKReflection on Host Types
Alpha - subject to change.

Two main entry points: 

* type-reflect reflects on something that implements TypeReference.
* reflect (for REPL use) reflects on the class of an instance, or
  on a class if passed a class

Key features:

* Exposes the read side of reflection as pure data. Reflecting
  on a type returns a map with keys :bases, :flags, and :members.

* Canonicalizes class names as Clojure symbols. Types can extend
  to the TypeReference protocol to indicate that they can be
  unambiguously resolved as a type name. The canonical format
  requires one non-Java-ish convention: array brackets are <>
  instead of [] so they can be part of a Clojure symbol.

* Pluggable Reflectors for different implementations. The default
  JavaReflector is good when you have a class in hand, or use
  the AsmReflector for "hands off" reflection without forcing
  classes to load.

Platform implementers must:

* Create an implementation of Reflector.
* Create one or more implementations of TypeReference.
* def default-reflector to be an instance that satisfies Reflector.Vmap2([Ljava/lang/Object;)Lclojure/lang/IPersistentMap;XY
7Zclojure/lang/IPersistentMap\withMeta2(Lclojure/lang/IPersistentMap;)Lclojure/lang/IObj;^_G`clojure/lang/AFnbCodeLineNumberTable
SourceFileSourceDebugExtension1

 d*?	?e		
d5?????Y?"S?(?-?e	.d?0?e		1d|d35?;??3=?;????E?G?YI?MSYOSYQ?MSYSSYU?MSYWS?[?]?a?c?"?e	fgZSMAP
reflect.java
Clojure
*S Clojure
*F
+ 1 reflect.clj
clojure/reflect.clj
*L
1#1,42:1
*E




© 2015 - 2025 Weber Informatics LLC | Privacy Policy