Skip to content

Instantly share code, notes, and snippets.

View JavierGelatti's full-sized avatar
🌲
💻

Facundo Javier Gelatti JavierGelatti

🌲
💻
View GitHub Profile
module.exports = (fileInfo, api) => {
const j = api.jscodeshift;
return j(fileInfo.source)
.find(j.CallExpression, {
callee: {
type: 'MemberExpression',
object: {
type: 'Identifier',
name: 'assert',
@JavierGelatti
JavierGelatti / CargadorSistemasProveedores.java
Created October 3, 2017 03:09
Ejemplo de Variaciones Protegidas usando metaprogramación
package com.dds.proveedores;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
public class CargadorSistemasProveedores {
public static final String PREFIJO_CLASE = "com.dds.proveedores.adaptadores.Adaptador";